Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007524/0.007524, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001486/0.001486, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.577/1.577, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.636/2.636, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 66.83 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3634, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002285/0.3657, allocations: 0.8107 MB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.3675, allocations: 1.153 MB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.3676, allocations: 4 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.908e-05/0.3677, allocations: 7.875 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.516e-05/0.3678, allocations: 15.88 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.3683, allocations: 142.9 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.3685, allocations: 147.8 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.3687, allocations: 31.98 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.3688, allocations: 59.83 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3689, allocations: 55.8 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.369, allocations: 16 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3691, allocations: 27.98 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.3691, allocations: 23.92 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.27e-05/0.3692, allocations: 51.78 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.3695, allocations: 155.5 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.3695, allocations: 0 / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.216e-06/0.3695, allocations: 0 / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3695, allocations: 0 / 1.091 GB, free: 14.83 MB / 0.8575 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.0009289/0.3704, allocations: 429 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3705, allocations: 8.031 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.3706, allocations: 12.84 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.3708, allocations: 184.2 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.3708, allocations: 12.36 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.3708, allocations: 12.38 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.3711, allocations: 82.14 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3711, allocations: 4.125 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.3711, allocations: 11.94 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.3711, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.3713, allocations: 63.89 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.372, allocations: 376.5 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.3721, allocations: 50.55 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3723, allocations: 32.94 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.3723, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.3725, allocations: 87.3 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3726, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004384/0.373, allocations: 125.5 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.3731, allocations: 51.41 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.3732, allocations: 133.7 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.3733, allocations: 33.7 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.3734, allocations: 95.95 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.3734, allocations: 19.88 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.3736, allocations: 37.7 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.3738, allocations: 314.8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3739, allocations: 51.97 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.3741, allocations: 87.33 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.3744, allocations: 108.2 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3744, allocations: 4 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004226/0.3748, allocations: 195.5 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.597e-05/0.3749, allocations: 33.7 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3749, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3749, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.375, allocations: 19.92 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.375, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.3753, allocations: 51.89 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.3753, allocations: 7.984 kB / 1.093 GB, free: 11.87 MB / 0.8575 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.0001319/0.3754, allocations: 117.8 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.3754, allocations: 7.906 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.3755, allocations: 8.375 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3755, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3755, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3755, allocations: 11.88 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.3757, allocations: 189.6 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3757, allocations: 4 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.3758, allocations: 8.078 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3758, allocations: 7.875 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3758, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3758, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3758, allocations: 4 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.3761, allocations: 132.9 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.3761, allocations: 81.02 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.3761, allocations: 8 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.88e-05/0.3762, allocations: 7.984 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.3763, allocations: 11.92 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.3763, allocations: 11.98 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00011/0.3764, allocations: 87.28 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3764, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002264/0.3766, allocations: 36.11 kB / 1.094 GB, free: 11.05 MB / 0.8575 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.0001742/0.3768, allocations: 115.2 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.3772, allocations: 167.3 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3773, allocations: 0 / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3774, allocations: 35.92 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.3776, allocations: 14.14 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.378, allocations: 179 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.3783, allocations: 0.6924 MB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.3783, allocations: 11.73 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.3784, allocations: 19.44 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3784, allocations: 0 / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of Templates: time 0.004976/0.3834, allocations: 1.683 MB / 1.097 GB, free: 8.094 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches