Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 193.9 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.495/2.495, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 64.14 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5466/0.5478, allocations: 151.6 MB / 1.017 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002423/0.5503, allocations: 0.8672 MB / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.552, allocations: 1.175 MB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.552, allocations: 4 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.814e-05/0.5521, allocations: 3.938 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.78e-05/0.5522, allocations: 3.938 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.5526, allocations: 128.8 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.5528, allocations: 131.7 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.5529, allocations: 31.97 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.173e-05/0.553, allocations: 55.83 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.5532, allocations: 47.81 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.5532, allocations: 8 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.63e-05/0.5533, allocations: 23.98 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.5533, allocations: 11.92 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.5534, allocations: 51.77 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.5538, allocations: 141.6 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5538, allocations: 7.984 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5538, allocations: 0 / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.5538, allocations: 0 / 1.019 GB, free: 236 kB / 0.7637 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.000786/0.5546, allocations: 432.8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5546, allocations: 8.031 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.5547, allocations: 12.84 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.5548, allocations: 176.2 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.5549, allocations: 12.36 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.5549, allocations: 12.38 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.5552, allocations: 86.2 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.5552, allocations: 192 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.5552, allocations: 3.938 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.5552, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.5554, allocations: 63.89 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.5561, allocations: 380.6 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.5563, allocations: 58.42 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.392e-05/0.5564, allocations: 28.94 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.5564, allocations: 4 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.5566, allocations: 87.36 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.5566, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004448/0.5571, allocations: 129.5 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.5571, allocations: 59.41 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.5573, allocations: 133.6 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.5573, allocations: 29.7 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.5574, allocations: 100 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.5574, allocations: 19.73 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.5575, allocations: 33.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5577, allocations: 326.8 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.5578, allocations: 55.97 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.558, allocations: 75.39 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.5583, allocations: 116.2 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5583, allocations: 4.031 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004714/0.5588, allocations: 195.2 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.5589, allocations: 29.7 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.5589, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5589, allocations: 3.984 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.559, allocations: 4 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.559, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.5592, allocations: 47.94 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.5592, allocations: 8 kB / 1.022 GB, free: 13.27 MB / 0.7794 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 0.0001565/0.5594, allocations: 122.3 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.5594, allocations: 3.906 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.5595, allocations: 16.36 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5595, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5595, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5595, allocations: 7.938 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.5597, allocations: 185.6 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5597, allocations: 3.984 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.5598, allocations: 8 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.5598, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.5598, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5598, allocations: 4.078 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5598, allocations: 4.25 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.5601, allocations: 136.9 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.5601, allocations: 85 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.5601, allocations: 0 / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.5602, allocations: 19.92 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.5603, allocations: 15.91 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.5603, allocations: 4 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001382/0.5604, allocations: 91.27 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5604, allocations: 4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002447/0.5607, allocations: 32.06 kB / 1.023 GB, free: 12.44 MB / 0.7794 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.0001308/0.5608, allocations: 103.2 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.5612, allocations: 171.3 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5612, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.5613, allocations: 44.09 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.5615, allocations: 8 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.5619, allocations: 192.8 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.5623, allocations: 0.6965 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.5623, allocations: 4 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.5623, allocations: 11.44 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5623, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of Templates: time 0.004231/0.5666, allocations: 1.463 MB / 1.025 GB, free: 9.699 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches