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.01122/0.01122, allocations: 102 kB / 15.73 MB, free: 6.035 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.002579/0.002579, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.384/2.384, allocations: 390.2 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.91 kB / 0.9508 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.097, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002184/1.1, allocations: 0.8132 MB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001547/1.101, allocations: 1.154 MB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/1.101, allocations: 1.031 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.669e-05/1.101, allocations: 8.578 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.657e-05/1.101, allocations: 15.67 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/1.102, allocations: 142.7 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/1.102, allocations: 146.8 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/1.102, allocations: 38.19 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/1.102, allocations: 52.39 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/1.103, allocations: 54.67 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/1.103, allocations: 14.53 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.703e-05/1.103, allocations: 31.75 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/1.103, allocations: 18.72 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.635e-05/1.103, allocations: 53.83 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002846/1.103, allocations: 150 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/1.103, allocations: 5.062 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/1.103, allocations: 4 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.405e-06/1.103, allocations: 0 / 1.091 GB, free: 3.836 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.000884/1.104, allocations: 432 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.212e-05/1.104, allocations: 9.875 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.921e-05/1.104, allocations: 15.11 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/1.104, allocations: 178.4 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/1.104, allocations: 8.781 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/1.104, allocations: 8.734 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/1.105, allocations: 90.98 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.105, allocations: 1 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/1.105, allocations: 4.781 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.105, allocations: 1.719 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/1.105, allocations: 60.61 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/1.106, allocations: 382.2 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/1.106, allocations: 50.33 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/1.106, allocations: 29.12 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/1.106, allocations: 0.75 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/1.106, allocations: 92.94 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/1.106, allocations: 0 / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004383/1.107, allocations: 121.5 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/1.107, allocations: 53 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/1.107, allocations: 132.6 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/1.107, allocations: 28.36 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/1.107, allocations: 111.5 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/1.107, allocations: 19.64 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/1.107, allocations: 34.98 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/1.107, allocations: 318.7 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/1.107, allocations: 53.11 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/1.107, allocations: 90 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/1.108, allocations: 111.3 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.108, allocations: 1.734 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004256/1.108, allocations: 193.8 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/1.108, allocations: 39.28 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.108, allocations: 5.438 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.108, allocations: 1.469 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.016e-05/1.108, allocations: 12.94 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.108, allocations: 1.312 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/1.108, allocations: 43.75 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/1.108, allocations: 6.281 kB / 1.093 GB, free: 1.672 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 8.098e-05/1.109, allocations: 122.2 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/1.109, allocations: 6.875 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/1.109, allocations: 11.17 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.109, allocations: 1.359 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.109, allocations: 0.7188 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.109, allocations: 4.688 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/1.109, allocations: 191.9 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.109, allocations: 0.8125 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/1.109, allocations: 12.02 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.109, allocations: 1.406 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/1.109, allocations: 5.75 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.109, allocations: 0 / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.109, allocations: 1 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/1.109, allocations: 124.6 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/1.109, allocations: 83.98 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/1.109, allocations: 6.141 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.245e-05/1.109, allocations: 8.938 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/1.109, allocations: 18.78 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/1.109, allocations: 6.781 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.498e-05/1.109, allocations: 91.89 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.71e-07/1.109, allocations: 0 / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002347/1.11, allocations: 29.39 kB / 1.094 GB, free: 1.035 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.0001656/1.11, allocations: 110.4 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004101/1.11, allocations: 167.7 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.11, allocations: 0.8125 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/1.11, allocations: 39.89 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/1.111, allocations: 20.58 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/1.111, allocations: 180 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/1.111, allocations: 0.691 MB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.797e-05/1.111, allocations: 8.891 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/1.111, allocations: 11.27 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.111, allocations: 0.6562 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.00562/1.117, allocations: 1.638 MB / 1.097 GB, free: 15.82 MB / 0.8731 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