Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 78.73 kB / 19.01 MB, free: 2.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 159 kB / 22.26 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 177.2 MB / 202.6 MB, free: 9.262 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002541/0.002541, allocations: 228.3 kB / 259.2 MB, free: 0.5859 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.072/1.072, allocations: 138.5 MB / 454.2 MB, free: 2.062 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003112/0.003112, allocations: 103.8 kB / 0.6466 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3897, allocations: 95.34 MB / 0.7397 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.003104/0.3928, allocations: 1.555 MB / 0.7412 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009376/0.3937, allocations: 474.8 kB / 0.7416 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.3938, allocations: 0 / 0.7416 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.955e-05/0.3938, allocations: 7.938 kB / 0.7416 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.3939, allocations: 3.938 kB / 0.7417 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.3942, allocations: 39.89 kB / 0.7417 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.3943, allocations: 51.78 kB / 0.7417 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3944, allocations: 12 kB / 0.7418 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.3945, allocations: 35.91 kB / 0.7418 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.3946, allocations: 19.91 kB / 0.7418 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.3946, allocations: 4 kB / 0.7418 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.374e-05/0.3946, allocations: 8 kB / 0.7418 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.3947, allocations: 11.92 kB / 0.7418 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.3947, allocations: 11.94 kB / 0.7418 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.3948, allocations: 64.8 kB / 0.7419 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3948, allocations: 4 kB / 0.7419 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3948, allocations: 0 / 0.7419 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.3948, allocations: 0 / 0.7419 GB, free: 12.95 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005324/0.3954, allocations: 290.1 kB / 0.7422 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3954, allocations: 9.344 kB / 0.7422 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.3956, allocations: 16.92 kB / 0.7422 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.3958, allocations: 126.4 kB / 0.7423 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.3958, allocations: 384 / 0.7423 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.3958, allocations: 4.375 kB / 0.7423 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.396, allocations: 73.86 kB / 0.7424 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.396, allocations: 0 / 0.7424 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.396, allocations: 4 kB / 0.7424 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3961, allocations: 11.97 kB / 0.7424 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.3962, allocations: 35.97 kB / 0.7425 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.3966, allocations: 236.4 kB / 0.7427 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.397, allocations: 66.48 kB / 0.7427 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.903e-05/0.3971, allocations: 24.91 kB / 0.7428 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.3972, allocations: 3.984 kB / 0.7428 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3972, allocations: 30.56 kB / 0.7428 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.3972, allocations: 4 kB / 0.7428 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003722/0.3976, allocations: 81.61 kB / 0.7429 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3976, allocations: 55.34 kB / 0.7429 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.3977, allocations: 117.8 kB / 0.743 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3977, allocations: 25.7 kB / 0.7431 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.3978, allocations: 92.12 kB / 0.7432 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.3978, allocations: 11.91 kB / 0.7432 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.3978, allocations: 13.72 kB / 0.7432 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.398, allocations: 326.8 kB / 0.7435 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.3981, allocations: 11.98 kB / 0.7435 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.3981, allocations: 15.98 kB / 0.7435 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.3983, allocations: 44.83 kB / 0.7436 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3983, allocations: 0 / 0.7436 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002173/0.3985, allocations: 69.61 kB / 0.7436 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3985, allocations: 4 kB / 0.7436 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.3985, allocations: 0 / 0.7436 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3986, allocations: 0 / 0.7436 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.3986, allocations: 15.98 kB / 0.7436 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3986, allocations: 0 / 0.7436 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.3987, allocations: 7.938 kB / 0.7437 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3987, allocations: 4 kB / 0.7437 GB, free: 10.98 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.899e-05/0.3988, allocations: 117.8 kB / 0.7438 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.3988, allocations: 4.328 kB / 0.7438 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.3989, allocations: 12 kB / 0.7438 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3989, allocations: 0 / 0.7438 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3989, allocations: 0 / 0.7438 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3989, allocations: 3.938 kB / 0.7438 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.399, allocations: 117.2 kB / 0.7439 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.399, allocations: 7.938 kB / 0.7439 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.3991, allocations: 7.984 kB / 0.7439 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3991, allocations: 4 kB / 0.7439 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3991, allocations: 4 kB / 0.7439 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3991, allocations: 0 / 0.7439 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3991, allocations: 4 kB / 0.7439 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.3994, allocations: 175.7 kB / 0.7441 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.3994, allocations: 4 kB / 0.7441 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3994, allocations: 0 / 0.7441 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3995, allocations: 11.98 kB / 0.7441 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.3996, allocations: 0 / 0.7441 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3996, allocations: 4 kB / 0.7441 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.489e-05/0.3996, allocations: 91.27 kB / 0.7442 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.3996, allocations: 4 kB / 0.7442 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002248/0.3998, allocations: 4 kB / 0.7442 GB, free: 10.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.428e-05/0.3999, allocations: 95.25 kB / 0.7443 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.4002, allocations: 43.91 kB / 0.7443 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4002, allocations: 0 / 0.7443 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.4003, allocations: 27.97 kB / 0.7444 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.4005, allocations: 11.88 kB / 0.7444 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.4009, allocations: 146.8 kB / 0.7445 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.86e-05/0.401, allocations: 67.34 kB / 0.7446 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.162e-05/0.401, allocations: 0 / 0.7446 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.4011, allocations: 12.48 kB / 0.7446 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.4011, allocations: 0 / 0.7446 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of Templates: time 0.002866/0.4039, allocations: 452.9 kB / 0.745 GB, free: 9.465 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & ./BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.699680121615529] Failed to read output from testmodel.py, exit status != 0: 0.4124036990106106 0.427904195 0.029883931000000002 Calling exit ...