Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001336/0.001336, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00144/0.00144, allocations: 165 kB / 24.17 MB, free: 332 kB / 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.872/0.872, allocations: 177.2 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.878/1.878, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.539e-05, allocations: 2.312 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001399/0.001415, allocations: 0.8336 MB / 0.7608 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.002591, allocations: 1.208 MB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.002644, allocations: 0 / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.002676, allocations: 9.375 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.122e-05/0.002757, allocations: 12.19 kB / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.003126, allocations: 141.5 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.003295, allocations: 149.6 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.003382, allocations: 27.95 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.003495, allocations: 84.36 kB / 0.7624 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.689e-05/0.003572, allocations: 45.05 kB / 0.7625 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.003595, allocations: 16 kB / 0.7625 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.31e-05/0.003648, allocations: 24 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.003673, allocations: 24.44 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.003712, allocations: 35.97 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.003862, allocations: 120.4 kB / 0.7627 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003864, allocations: 3.938 kB / 0.7627 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003864, allocations: 4.469 kB / 0.7627 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.826e-06/0.003867, allocations: 0.9375 kB / 0.7627 GB, free: 3.941 MB / 0.7136 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.000386/0.004253, allocations: 318.3 kB / 0.763 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.004284, allocations: 9.062 kB / 0.763 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.004321, allocations: 16.92 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.895e-05/0.0044, allocations: 121.7 kB / 0.7631 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.004412, allocations: 5 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.004432, allocations: 14.16 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.004536, allocations: 74.92 kB / 0.7632 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004543, allocations: 192 / 0.7632 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.004551, allocations: 4.375 kB / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.004556, allocations: 384 / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.155e-05/0.004588, allocations: 28.2 kB / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.004873, allocations: 204.1 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.721e-05/0.00493, allocations: 31.5 kB / 0.7635 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.004946, allocations: 13.52 kB / 0.7635 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.004953, allocations: 0 / 0.7635 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.907e-05/0.005032, allocations: 76.16 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.005033, allocations: 0 / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001187/0.005152, allocations: 66.3 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.005181, allocations: 51.41 kB / 0.7637 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.005249, allocations: 127.4 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.005268, allocations: 29.7 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.005307, allocations: 97.77 kB / 0.7639 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.005324, allocations: 15.83 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.00537, allocations: 37.69 kB / 0.764 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.005445, allocations: 318.8 kB / 0.7643 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.005494, allocations: 58.12 kB / 0.7643 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.005554, allocations: 98.83 kB / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.463e-05/0.005619, allocations: 87.14 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.00562, allocations: 0 / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001214/0.005742, allocations: 156.9 kB / 0.7646 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.005766, allocations: 41.69 kB / 0.7647 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.00577, allocations: 0 / 0.7647 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.005782, allocations: 6.438 kB / 0.7647 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.001e-05/0.005832, allocations: 7.938 kB / 0.7647 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.005835, allocations: 0 / 0.7647 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.005913, allocations: 32.23 kB / 0.7647 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.005924, allocations: 3.984 kB / 0.7647 GB, free: 1.621 MB / 0.7136 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.896e-05/0.005983, allocations: 119.3 kB / 0.7648 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.005994, allocations: 11.92 kB / 0.7649 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.006015, allocations: 8.438 kB / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.006019, allocations: 9.031 kB / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.00602, allocations: 0 / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.006024, allocations: 5.141 kB / 0.7649 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.019e-05/0.006094, allocations: 85.86 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.006095, allocations: 0 / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.006112, allocations: 5.688 kB / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006114, allocations: 3.938 kB / 0.765 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.00612, allocations: 0 / 0.765 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.00612, allocations: 0 / 0.765 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.006123, allocations: 7.922 kB / 0.765 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.467e-05/0.006188, allocations: 71.88 kB / 0.765 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.006195, allocations: 7.953 kB / 0.765 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.006212, allocations: 11.92 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.006232, allocations: 4 kB / 0.7651 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.006268, allocations: 15.97 kB / 0.7651 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.006272, allocations: 4 kB / 0.7651 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.514e-05/0.006287, allocations: 12.86 kB / 0.7651 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006287, allocations: 5.906 kB / 0.7651 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001216/0.006409, allocations: 27.92 kB / 0.7651 GB, free: 1.172 MB / 0.7136 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.989e-05/0.006499, allocations: 88.41 kB / 0.7652 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.006633, allocations: 138.4 kB / 0.7653 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.006636, allocations: 6.312 kB / 0.7653 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.006665, allocations: 20.78 kB / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.804e-05/0.006753, allocations: 15.98 kB / 0.7654 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.007117, allocations: 185.5 kB / 0.7656 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.895e-05/0.007146, allocations: 59.84 kB / 0.7656 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.007169, allocations: 4.594 kB / 0.7656 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.811e-05/0.007247, allocations: 72.06 kB / 0.7657 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of SimCode: time 4.31e-07/0.007247, allocations: 0 / 0.7657 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of Templates: time 0.003117/0.01036, allocations: 1.888 MB / 0.7675 GB, free: 14.74 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.745333622209728]