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.001881/0.001881, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002567/0.002567, allocations: 158.8 kB / 22.45 MB, free: 5.375 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.426/1.426, allocations: 177.2 MB / 202.8 MB, free: 9.164 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.002412/0.002412, allocations: 233.6 kB / 259.4 MB, free: 472 kB / 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.069/1.069, allocations: 138.4 MB / 454.3 MB, free: 1.984 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6467 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.741e-05, allocations: 6.281 kB / 0.6467 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002642/0.002669, allocations: 1.551 MB / 0.6483 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00088/0.003549, allocations: 490.7 kB / 0.6487 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.003605, allocations: 0 / 0.6487 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.003635, allocations: 7.922 kB / 0.6487 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.003686, allocations: 7.875 kB / 0.6487 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.003927, allocations: 31.89 kB / 0.6488 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.004037, allocations: 47.8 kB / 0.6488 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.004129, allocations: 15.98 kB / 0.6488 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.004283, allocations: 39.83 kB / 0.6489 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.955e-05/0.004323, allocations: 23.92 kB / 0.6489 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.004341, allocations: 4 kB / 0.6489 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.626e-05/0.004377, allocations: 4 kB / 0.6489 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.004402, allocations: 15.97 kB / 0.6489 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.004429, allocations: 11.94 kB / 0.6489 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.00455, allocations: 51.8 kB / 0.649 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004552, allocations: 0 / 0.649 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004553, allocations: 0 / 0.649 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.004556, allocations: 0 / 0.649 GB, free: 2.762 MB / 0.5606 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.0005095/0.005066, allocations: 290.2 kB / 0.6493 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.0051, allocations: 9.344 kB / 0.6493 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.005231, allocations: 12.92 kB / 0.6493 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.00541, allocations: 125.6 kB / 0.6494 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.005432, allocations: 4.375 kB / 0.6494 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.005442, allocations: 4.375 kB / 0.6494 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.005642, allocations: 58.23 kB / 0.6495 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.00565, allocations: 4.188 kB / 0.6495 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.005665, allocations: 8.359 kB / 0.6495 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.005674, allocations: 7.938 kB / 0.6495 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.005867, allocations: 43.91 kB / 0.6495 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.006243, allocations: 228.4 kB / 0.6497 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.006587, allocations: 62.48 kB / 0.6498 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.006689, allocations: 24.89 kB / 0.6498 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.006705, allocations: 3.984 kB / 0.6498 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.006732, allocations: 42.56 kB / 0.6499 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.006734, allocations: 0 / 0.6499 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003977/0.007131, allocations: 85.55 kB / 0.65 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.007168, allocations: 51.41 kB / 0.65 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.007263, allocations: 117.8 kB / 0.6501 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.007279, allocations: 25.7 kB / 0.6501 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.007336, allocations: 88.12 kB / 0.6502 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.007359, allocations: 19.78 kB / 0.6502 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.007396, allocations: 17.72 kB / 0.6503 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.00753, allocations: 318.8 kB / 0.6506 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.007625, allocations: 15.98 kB / 0.6506 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/0.007711, allocations: 19.98 kB / 0.6506 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.007894, allocations: 44.77 kB / 0.6506 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.007898, allocations: 3.938 kB / 0.6506 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000218/0.008116, allocations: 61.67 kB / 0.6507 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.008128, allocations: 8 kB / 0.6507 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.008131, allocations: 0 / 0.6507 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.008143, allocations: 0 / 0.6507 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/0.008225, allocations: 11.98 kB / 0.6507 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.008229, allocations: 0 / 0.6507 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.008288, allocations: 7.953 kB / 0.6507 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.0083, allocations: 4 kB / 0.6507 GB, free: 0.7969 MB / 0.5606 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.77e-05/0.008388, allocations: 117.8 kB / 0.6508 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.008416, allocations: 4 kB / 0.6508 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.008449, allocations: 12 kB / 0.6509 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008451, allocations: 0 / 0.6509 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.008453, allocations: 0 / 0.6509 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.008455, allocations: 384 / 0.6509 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.008603, allocations: 117.3 kB / 0.651 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.008606, allocations: 3.938 kB / 0.651 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.008685, allocations: 15.92 kB / 0.651 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.008687, allocations: 3.938 kB / 0.651 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-06/0.008696, allocations: 4 kB / 0.651 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.008697, allocations: 0 / 0.651 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.008698, allocations: 0 / 0.651 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.008974, allocations: 171.5 kB / 0.6512 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.008985, allocations: 3.938 kB / 0.6512 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.008999, allocations: 0 / 0.6512 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-05/0.009087, allocations: 7.984 kB / 0.6512 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.009118, allocations: 4.375 kB / 0.6512 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.009122, allocations: 0 / 0.6512 GB, free: 284 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.887e-05/0.009181, allocations: 91.27 kB / 0.6513 GB, free: 192 kB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.009181, allocations: 0 / 0.6513 GB, free: 192 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002263/0.009408, allocations: 15.89 kB / 0.6513 GB, free: 176 kB / 0.5606 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.713e-05/0.009505, allocations: 103.2 kB / 0.6514 GB, free: 64 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.009729, allocations: 39.95 kB / 0.6514 GB, free: 24 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009731, allocations: 0 / 0.6514 GB, free: 24 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.009835, allocations: 23.97 kB / 0.6514 GB, free: 0 / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2282/0.2381, allocations: 2.547 kB / 0.6514 GB, free: 56.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.2385, allocations: 143.3 kB / 0.6516 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.447e-05/0.2386, allocations: 69.17 kB / 0.6516 GB, free: 56.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.419e-05/0.2386, allocations: 4.703 kB / 0.6516 GB, free: 56.74 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.2386, allocations: 10.56 kB / 0.6517 GB, free: 56.73 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.2386, allocations: 0 / 0.6517 GB, free: 56.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.002686/0.2413, allocations: 465.3 kB / 0.6521 GB, free: 56.71 MB / 0.5606 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.674338418990374] Failed to read output from testmodel.py, exit status != 0: 0.24879849329590797 0.25842950200000003 0.25165354300000004 Calling exit ...