Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.0008991/0.0008991, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009276/0.0009276, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9603/0.9603, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.312/2.312, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.997e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00137/0.00139, allocations: 0.8216 MB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.002477, allocations: 1.209 MB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.002524, allocations: 4 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.002554, allocations: 11.86 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.845e-05/0.002633, allocations: 15.86 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.002977, allocations: 135.6 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.003128, allocations: 147.7 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.455e-05/0.003213, allocations: 27.84 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.003319, allocations: 83.86 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.003398, allocations: 47.86 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.00342, allocations: 16 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.385e-05/0.003474, allocations: 23.98 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.003496, allocations: 15.94 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.003537, allocations: 43.89 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.003676, allocations: 123.6 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003678, allocations: 0 / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003678, allocations: 0 / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.846e-06/0.003681, allocations: 4 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003609/0.004042, allocations: 330.3 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.004073, allocations: 8.625 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.004111, allocations: 12.92 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.084e-05/0.004182, allocations: 113.8 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.004195, allocations: 12.31 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.004214, allocations: 8.375 kB / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.686e-05/0.004311, allocations: 77.92 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.351e-06/0.004317, allocations: 192 / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.004325, allocations: 4.375 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.00433, allocations: 4.375 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.00436, allocations: 19.92 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.004628, allocations: 212.1 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.004684, allocations: 30.56 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.004701, allocations: 16.8 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.004708, allocations: 0 / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.517e-05/0.004783, allocations: 71.41 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.004784, allocations: 0 / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001119/0.004896, allocations: 65.67 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.004923, allocations: 51.41 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.004988, allocations: 134.6 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.005008, allocations: 33.64 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.005047, allocations: 96.08 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.005068, allocations: 23.81 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.005114, allocations: 37.62 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.005183, allocations: 318.8 kB / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.00523, allocations: 49.69 kB / 0.8429 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.005289, allocations: 102.8 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.005353, allocations: 92.25 kB / 0.8431 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005355, allocations: 0 / 0.8431 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000126/0.005481, allocations: 156.9 kB / 0.8432 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.005505, allocations: 37.69 kB / 0.8433 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.005509, allocations: 0 / 0.8433 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.00552, allocations: 4 kB / 0.8433 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.762e-05/0.005567, allocations: 4 kB / 0.8433 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.005572, allocations: 3.984 kB / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.784e-05/0.00565, allocations: 32.05 kB / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.005662, allocations: 7.984 kB / 0.8433 GB, free: 9.117 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 5.765e-05/0.00572, allocations: 113.8 kB / 0.8434 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-06/0.005728, allocations: 7.938 kB / 0.8434 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.005748, allocations: 12.42 kB / 0.8434 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.005751, allocations: 7.938 kB / 0.8434 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.005752, allocations: 0 / 0.8434 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005755, allocations: 0 / 0.8434 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.42e-05/0.005819, allocations: 81.83 kB / 0.8435 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005819, allocations: 4 kB / 0.8435 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.646e-05/0.005836, allocations: 4 kB / 0.8435 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.005838, allocations: 3.938 kB / 0.8435 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.005844, allocations: 3.984 kB / 0.8435 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005844, allocations: 0 / 0.8435 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.005846, allocations: 4 kB / 0.8435 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.501e-05/0.005911, allocations: 73.11 kB / 0.8436 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.00592, allocations: 8.359 kB / 0.8436 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.005935, allocations: 3.938 kB / 0.8436 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.005955, allocations: 8 kB / 0.8436 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.005991, allocations: 27.84 kB / 0.8436 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.005997, allocations: 4 kB / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.662e-05/0.006014, allocations: 16.84 kB / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006014, allocations: 0 / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001233/0.006137, allocations: 31.89 kB / 0.8437 GB, free: 8.664 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.941e-05/0.006226, allocations: 80.42 kB / 0.8438 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.006357, allocations: 149.8 kB / 0.8439 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.006359, allocations: 0 / 0.8439 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.597e-05/0.006385, allocations: 16.98 kB / 0.8439 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.993e-05/0.006475, allocations: 21.3 kB / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.006874, allocations: 176.7 kB / 0.8441 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.00691, allocations: 59.34 kB / 0.8442 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.006945, allocations: 7.984 kB / 0.8442 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.00705, allocations: 71.36 kB / 0.8443 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of SimCode: time 8.01e-07/0.007051, allocations: 7.938 kB / 0.8443 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of Templates: time 0.003638/0.01069, allocations: 1.871 MB / 0.8461 GB, free: 6.164 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.044525667093694]