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.001486/0.001486, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001824/0.001824, allocations: 164.5 kB / 24.86 MB, free: 8.891 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.9442/0.9442, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.806/1.806, allocations: 377.9 MB / 0.6247 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.413e-06/1.413e-06, allocations: 0 / 0.8128 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.655e-05, allocations: 8.922 kB / 0.8128 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001303/0.001319, allocations: 0.829 MB / 0.8136 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.002433, allocations: 1.202 MB / 0.8148 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.002481, allocations: 1.156 kB / 0.8148 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.002513, allocations: 7.875 kB / 0.8148 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.002594, allocations: 11.88 kB / 0.8148 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.00296, allocations: 145.5 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.003116, allocations: 143.7 kB / 0.8151 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.003215, allocations: 27.97 kB / 0.8151 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.003328, allocations: 82.31 kB / 0.8152 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.003403, allocations: 43.92 kB / 0.8152 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.003427, allocations: 16 kB / 0.8152 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.122e-05/0.003478, allocations: 23.98 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.003504, allocations: 23.91 kB / 0.8153 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.003541, allocations: 35.92 kB / 0.8153 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.003676, allocations: 125.1 kB / 0.8154 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.003678, allocations: 0 / 0.8154 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003678, allocations: 0 / 0.8154 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.003681, allocations: 0 / 0.8154 GB, free: 14.8 MB / 0.7761 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.0003729/0.004054, allocations: 451.5 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.004085, allocations: 12.03 kB / 0.8159 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.004126, allocations: 12.89 kB / 0.8159 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.328e-05/0.004199, allocations: 116.5 kB / 0.816 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.004211, allocations: 8.906 kB / 0.816 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.004227, allocations: 8.906 kB / 0.816 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.004327, allocations: 79.83 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.004333, allocations: 192 / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.004341, allocations: 4.375 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.004344, allocations: 1.094 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.354e-05/0.004377, allocations: 27.86 kB / 0.8161 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.004676, allocations: 338 kB / 0.8164 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.66e-05/0.004732, allocations: 42.98 kB / 0.8165 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.004749, allocations: 15.69 kB / 0.8165 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.004756, allocations: 1.156 kB / 0.8165 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.624e-05/0.004833, allocations: 73.05 kB / 0.8166 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.004834, allocations: 0.9062 kB / 0.8166 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001341/0.004968, allocations: 73.64 kB / 0.8166 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.004995, allocations: 55.41 kB / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.005067, allocations: 178.7 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.005085, allocations: 33.7 kB / 0.8169 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.005142, allocations: 147.9 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.005158, allocations: 11.91 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.005208, allocations: 43.34 kB / 0.8171 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.005305, allocations: 0.4892 MB / 0.8175 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.005357, allocations: 61.61 kB / 0.8176 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.005425, allocations: 119.7 kB / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.515e-05/0.00549, allocations: 84.75 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.005493, allocations: 3.938 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001641/0.005658, allocations: 186 kB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.005682, allocations: 41.69 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005686, allocations: 3.188 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.005694, allocations: 4 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.58e-05/0.00574, allocations: 4 kB / 0.818 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.005743, allocations: 4.062 kB / 0.818 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.489e-05/0.005828, allocations: 27.91 kB / 0.8181 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.00584, allocations: 8 kB / 0.8181 GB, free: 11.81 MB / 0.7761 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 6.858e-05/0.005908, allocations: 169 kB / 0.8182 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.00592, allocations: 13.88 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.00594, allocations: 12.44 kB / 0.8183 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005941, allocations: 0 / 0.8183 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.005943, allocations: 0 / 0.8183 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005945, allocations: 3.938 kB / 0.8183 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.088e-05/0.006016, allocations: 114.8 kB / 0.8184 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006017, allocations: 3.938 kB / 0.8184 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/0.006036, allocations: 7.984 kB / 0.8184 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006038, allocations: 3.938 kB / 0.8184 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.006047, allocations: 1.375 kB / 0.8184 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.006048, allocations: 0 / 0.8184 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.006049, allocations: 8 kB / 0.8184 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.166e-05/0.006131, allocations: 101.2 kB / 0.8185 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.00614, allocations: 11.89 kB / 0.8185 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.006152, allocations: 0.8438 kB / 0.8185 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.006175, allocations: 7.984 kB / 0.8185 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.006208, allocations: 13.27 kB / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.006213, allocations: 4 kB / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.006248, allocations: 131.2 kB / 0.8187 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006248, allocations: 4.75 kB / 0.8187 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001419/0.00639, allocations: 31.94 kB / 0.8187 GB, free: 11.13 MB / 0.7761 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.21e-05/0.006472, allocations: 105.7 kB / 0.8188 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.006605, allocations: 144.8 kB / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.006606, allocations: 0 / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.866e-05/0.006635, allocations: 23.62 kB / 0.819 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.006765, allocations: 19.72 kB / 0.819 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.007104, allocations: 182.4 kB / 0.8191 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.788e-05/0.007132, allocations: 63.2 kB / 0.8192 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.21e-05/0.007154, allocations: 4.938 kB / 0.8192 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.007237, allocations: 94.17 kB / 0.8193 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.007237, allocations: 0 / 0.8193 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.003143/0.01038, allocations: 2.017 MB / 0.8213 GB, free: 8.469 MB / 0.7761 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.889924810267985]