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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001225/0.001225, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001396/0.001396, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.949/2.949, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004319, allocations: 11.98 kB / 0.8722 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9581/0.9585, allocations: 153.8 MB / 1.022 GB, free: 16 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001334/0.9599, allocations: 0.5091 MB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.9617, allocations: 1.132 MB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.9618, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.9619, allocations: 7.922 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.415e-05/0.962, allocations: 11.92 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/0.9626, allocations: 119.7 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.9628, allocations: 115.7 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.9629, allocations: 31.95 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.9631, allocations: 43.84 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.9632, allocations: 47.81 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.9632, allocations: 8 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.9633, allocations: 15.98 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.9633, allocations: 11.98 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.308e-05/0.9634, allocations: 41.64 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.9637, allocations: 103.7 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.9637, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9637, allocations: 4 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.9637, allocations: 4 kB / 1.025 GB, free: 13.79 MB / 0.7794 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.000719/0.9644, allocations: 420 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.9645, allocations: 8.562 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.394e-05/0.9646, allocations: 11.91 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.9647, allocations: 174.9 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.9648, allocations: 12 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.9648, allocations: 11.95 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.9651, allocations: 93.58 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.9651, allocations: 0 / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.9651, allocations: 0 / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.9651, allocations: 0 / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.9653, allocations: 71.95 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006728/0.966, allocations: 384.5 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.9662, allocations: 62.55 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.9663, allocations: 32.92 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.9664, allocations: 7.938 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.9666, allocations: 83.38 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 2.404e-06/0.9666, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004842/0.9671, allocations: 145.5 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.9672, allocations: 51.41 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.9673, allocations: 137.7 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.9674, allocations: 29.7 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.9675, allocations: 111.9 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.9675, allocations: 11.84 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.9675, allocations: 4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.9677, allocations: 318.8 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.9678, allocations: 55.97 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.968, allocations: 87.39 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.9682, allocations: 81.67 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9682, allocations: 0 / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004367/0.9686, allocations: 199.2 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.9687, allocations: 39.25 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9687, allocations: 4 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.9687, allocations: 0 / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.9688, allocations: 19.98 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.9689, allocations: 0 / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.9691, allocations: 55.91 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.9691, allocations: 12 kB / 1.027 GB, free: 10.85 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,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.9693, allocations: 121.8 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.9693, allocations: 8 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.9693, allocations: 20.23 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9693, allocations: 0 / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.9693, allocations: 320 / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9694, allocations: 4 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.9695, allocations: 197.6 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.9695, allocations: 4 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.9696, allocations: 11.98 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.9696, allocations: 4 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.9696, allocations: 0 / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.9696, allocations: 80 / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9697, allocations: 3.984 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.9699, allocations: 144.9 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.97, allocations: 81.02 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.97, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.9701, allocations: 11.98 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.9702, allocations: 11.98 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.9702, allocations: 11.98 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.622e-05/0.9703, allocations: 91.7 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.9703, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002337/0.9705, allocations: 27.94 kB / 1.028 GB, free: 10.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001824/0.9707, allocations: 103.2 kB / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003976/0.9711, allocations: 187.3 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.9711, allocations: 0 / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.9712, allocations: 35.98 kB / 1.028 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.9715, allocations: 24.2 kB / 1.028 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.9719, allocations: 201.1 kB / 1.028 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.9722, allocations: 0.6887 MB / 1.029 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.186e-05/0.9723, allocations: 8.188 kB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.9723, allocations: 11.44 kB / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.9723, allocations: 0 / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of Templates: time 0.004449/0.9768, allocations: 1.41 MB / 1.03 GB, free: 7.297 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