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.0009651/0.0009651, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001522/0.001522, allocations: 161 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.9299/0.9299, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.873/1.873, allocations: 377.9 MB / 0.624 GB, free: 8.375 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 2.064e-06/2.064e-06, allocations: 0 / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.846e-05, allocations: 6.625 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002159/0.002187, allocations: 0.8801 MB / 0.7609 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.004323, allocations: 1.203 MB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.004419, allocations: 0 / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/0.004471, allocations: 8.625 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.004601, allocations: 13.94 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.005152, allocations: 144.1 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.005386, allocations: 141.6 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.005514, allocations: 28.7 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.005674, allocations: 89.39 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.005776, allocations: 44.5 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.005807, allocations: 16 kB / 0.7626 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.615e-05/0.005903, allocations: 30.16 kB / 0.7626 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.005932, allocations: 15.98 kB / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.005985, allocations: 39.91 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.006186, allocations: 119.6 kB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.006189, allocations: 3.984 kB / 0.7628 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.02e-07/0.00619, allocations: 0 / 0.7628 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.006196, allocations: 1.594 kB / 0.7628 GB, free: 3.871 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.000472/0.006668, allocations: 326.3 kB / 0.7631 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.006712, allocations: 8.031 kB / 0.7631 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.006758, allocations: 14.17 kB / 0.7631 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.006866, allocations: 121.6 kB / 0.7632 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.006881, allocations: 8.375 kB / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.006899, allocations: 8.375 kB / 0.7632 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.007042, allocations: 80.02 kB / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.007055, allocations: 4.172 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.007066, allocations: 5.297 kB / 0.7633 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.007073, allocations: 4.375 kB / 0.7633 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.657e-05/0.00711, allocations: 14.94 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.007505, allocations: 211.5 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.447e-05/0.007589, allocations: 34.56 kB / 0.7636 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.007609, allocations: 12.8 kB / 0.7636 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.007621, allocations: 4.078 kB / 0.7636 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.88e-05/0.00772, allocations: 67.28 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.007722, allocations: 0 / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001515/0.007873, allocations: 64.61 kB / 0.7637 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.007907, allocations: 51.41 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.224e-05/0.007989, allocations: 126.7 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.008011, allocations: 29.7 kB / 0.7639 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.008061, allocations: 104 kB / 0.764 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.00808, allocations: 15.84 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.008135, allocations: 37.69 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.008229, allocations: 318.8 kB / 0.7644 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-05/0.008285, allocations: 54.72 kB / 0.7644 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.008367, allocations: 106.8 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.869e-05/0.008445, allocations: 81.11 kB / 0.7646 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.008447, allocations: 0.9375 kB / 0.7646 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001607/0.008608, allocations: 165.7 kB / 0.7647 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.008642, allocations: 33.7 kB / 0.7648 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.008648, allocations: 0.5 kB / 0.7648 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.00866, allocations: 0 / 0.7648 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.008727, allocations: 15.42 kB / 0.7648 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.008732, allocations: 3.938 kB / 0.7648 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.509e-05/0.008817, allocations: 31.94 kB / 0.7648 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.008832, allocations: 7.984 kB / 0.7648 GB, free: 1.531 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 8.135e-05/0.008913, allocations: 109.8 kB / 0.7649 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.008929, allocations: 15.88 kB / 0.765 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.00896, allocations: 15.27 kB / 0.765 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.008964, allocations: 4 kB / 0.765 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.008966, allocations: 0 / 0.765 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.00897, allocations: 0 / 0.765 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.76e-05/0.009057, allocations: 77.88 kB / 0.765 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.009058, allocations: 0 / 0.765 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.009082, allocations: 7.984 kB / 0.7651 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.009085, allocations: 3.938 kB / 0.7651 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.009091, allocations: 1.562 kB / 0.7651 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.009094, allocations: 4 kB / 0.7651 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.009095, allocations: 0 / 0.7651 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.009306, allocations: 73.11 kB / 0.7651 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.009318, allocations: 9.453 kB / 0.7651 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.009334, allocations: 3.938 kB / 0.7651 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.103e-05/0.009355, allocations: 4 kB / 0.7651 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.0094, allocations: 21.25 kB / 0.7652 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.009407, allocations: 8.125 kB / 0.7652 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.315e-05/0.00943, allocations: 20.83 kB / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00943, allocations: 0 / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001368/0.009567, allocations: 28.56 kB / 0.7652 GB, free: 1.09 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 0.0001262/0.009693, allocations: 85.25 kB / 0.7653 GB, free: 1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000175/0.009868, allocations: 147 kB / 0.7654 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.009872, allocations: 0 / 0.7654 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.367e-05/0.009905, allocations: 16.86 kB / 0.7655 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.01002, allocations: 13.83 kB / 0.7655 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.01055, allocations: 186 kB / 0.7656 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.964e-05/0.01059, allocations: 56.86 kB / 0.7657 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.01062, allocations: 15.86 kB / 0.7657 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.01072, allocations: 71.36 kB / 0.7658 GB, free: 448 kB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.01072, allocations: 0.5625 kB / 0.7658 GB, free: 448 kB / 0.7136 GB Notification: Performance of Templates: time 0.003803/0.01453, allocations: 1.885 MB / 0.7676 GB, free: 14.66 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 -s gbode -gbm=radauIIA3 -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.853617309127003]