Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.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.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.runSig|con.avaSig|con.mWat_flow|con.opeMod",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.runSig|con.avaSig|con.mWat_flow|con.opeMod",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.001449, allocations: 110.8 kB / 16.42 MB, free: 6.512 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.00154/0.00154, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.427/1.427, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.261/2.261, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8215/0.8228, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller): time 0.005841/0.8287, allocations: 4.529 MB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005162/0.8339, allocations: 3.054 MB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007275/0.8347, allocations: 25.28 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002042/0.8367, allocations: 0.6844 MB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.8379, allocations: 430.1 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.8405, allocations: 0.9273 MB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003264/0.8437, allocations: 2.012 MB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.8459, allocations: 1.204 MB / 1.101 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.847, allocations: 0.7008 MB / 1.102 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009925/0.848, allocations: 0.7274 MB / 1.103 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003351/0.8484, allocations: 176 kB / 1.103 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006701/0.8491, allocations: 266 kB / 1.103 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007244/0.8498, allocations: 0.5441 MB / 1.104 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009299/0.8507, allocations: 0.8593 MB / 1.104 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.8538, allocations: 2.392 MB / 1.107 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.8538, allocations: 0 / 1.107 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.806e-06/0.8538, allocations: 0.7031 kB / 1.107 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.667e-05/0.8539, allocations: 0.9375 kB / 1.107 GB, free: 10.77 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003817/0.8577, allocations: 2.128 MB / 1.109 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.8578, allocations: 9.25 kB / 1.109 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.8581, allocations: 206.1 kB / 1.109 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.8599, allocations: 1.105 MB / 1.11 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.8601, allocations: 145.9 kB / 1.11 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.8603, allocations: 137.2 kB / 1.11 GB, free: 8.379 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.8626, allocations: 1.359 MB / 1.112 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.8626, allocations: 6.406 kB / 1.112 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.8627, allocations: 52.91 kB / 1.112 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/0.8628, allocations: 32.86 kB / 1.112 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.8645, allocations: 0.904 MB / 1.113 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007266/0.8718, allocations: 5.536 MB / 1.118 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.8734, allocations: 0.8839 MB / 1.119 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008411/0.8743, allocations: 438.4 kB / 1.119 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.793e-05/0.8744, allocations: 18.02 kB / 1.119 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001542/0.8759, allocations: 0.643 MB / 1.12 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=102): time 4.018e-06/0.8759, allocations: 3.938 kB / 1.12 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102): time 0.00295/0.8789, allocations: 1.204 MB / 1.121 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002654/0.8792, allocations: 368.6 kB / 1.121 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/0.8823, allocations: 1.599 MB / 1.123 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002166/0.8826, allocations: 89.86 kB / 1.123 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007175/0.8833, allocations: 0.7122 MB / 1.124 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.8836, allocations: 255.7 kB / 1.124 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004613/0.884, allocations: 332.4 kB / 1.124 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8842, allocations: 307.2 kB / 1.125 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007212/0.8849, allocations: 399.8 kB / 1.125 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.8859, allocations: 0.7815 MB / 1.126 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.8873, allocations: 0.9402 MB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.8873, allocations: 7.906 kB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.002381/0.8897, allocations: 1.283 MB / 1.128 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.8898, allocations: 9.031 kB / 1.128 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.8898, allocations: 11.7 kB / 1.128 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/0.8898, allocations: 16.81 kB / 1.128 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.8904, allocations: 174.3 kB / 1.128 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.343e-05/0.8905, allocations: 28.23 kB / 1.128 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/0.8912, allocations: 139.1 kB / 1.128 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.8913, allocations: 62.92 kB / 1.128 GB, free: 13.2 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 136 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition10,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,con.transition3.t_start,$PRE.con.transition3.t_start,con.transition5.t_start,$PRE.con.transition5.t_start,con.transition9.t_start,$PRE.con.transition9.t_start,con.transition7.t_start,$PRE.con.transition7.t_start,con.transition10.t_start,$PRE.con.transition10.t_start,con.transition1.t_start,$PRE.con.transition1.t_start,con.transition2.t_start,$PRE.con.transition2.t_start,con.transition8.t_start,$PRE.con.transition8.t_start,con.transition6.t_start,$PRE.con.transition6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,stateGraphRoot.activeSteps,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,con.timer.entryTime,$PRE.con.timer.entryTime,con.timer.passed,$PRE.con.timer.passed,con.transition4.t_start,$PRE.con.transition4.t_start,con.transition4.enableFire,con.transition4.localCondition,con.plaOff.oldActive,$PRE.con.plaOff.oldActive,con.plaOff.newActive,$PRE.con.plaOff.newActive,con.plaOff.inPort[3].occupied,con.plaOff.inPort[2].occupied,con.plaOff.localActive,$PRE.con.plaOff.localActive,con.plaOff.active,con.transition6.enableFire,con.transition6.localCondition,con.warUpCtr.timer.entryTime,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.passed,con.transition8.enableFire,con.nor.oldActive,$PRE.con.nor.oldActive,con.nor.newActive,$PRE.con.nor.newActive,con.nor.localActive,$PRE.con.nor.localActive,con.nor.active,con.transition2.enableFire,con.transition1.enableFire,con.assWatMas.hys.y,$PRE.con.assWatMas.hys.y,con.assWatMas.nand.y,con.transition10.enableFire,con.transition10.localCondition,con.transition7.enableFire,con.transition7.localCondition,con.transition9.enableFire,con.transition5.enableFire,con.transition3.enableFire,con.hys.y,$PRE.con.hys.y,con.cooDow.active,con.cooDow.oldActive,$PRE.con.cooDow.oldActive,con.cooDow.newActive,$PRE.con.cooDow.newActive,con.cooDow.outPort[2].available,con.cooDow.inPort[2].occupied,con.cooDow.localActive,$PRE.con.cooDow.localActive,con.warUp.active,con.warUp.oldActive,$PRE.con.warUp.oldActive,con.warUp.newActive,$PRE.con.warUp.newActive,con.warUp.outPort[2].available,con.warUp.inPort[2].occupied,con.warUp.inPort[1].set,con.warUp.localActive,$PRE.con.warUp.localActive,con.pumOn.oldActive,$PRE.con.pumOn.oldActive,con.pumOn.newActive,$PRE.con.pumOn.newActive,con.pumOn.outPort[2].available,con.pumOn.localActive,$PRE.con.pumOn.localActive,con.pumOn.active,con.staBy.oldActive,$PRE.con.staBy.oldActive,con.staBy.newActive,$PRE.con.staBy.newActive,con.staBy.outPort[2].available,con.staBy.localActive,$PRE.con.staBy.localActive,con.staBy.active,con.opeMod,con.runSig,con.avaSig,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (183): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * 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.0009789/0.8923, allocations: 0.5315 MB / 1.129 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.8926, allocations: 151.3 kB / 1.129 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.8943, allocations: 0.9663 MB / 1.13 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.8944, allocations: 8.391 kB / 1.13 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.8944, allocations: 2.406 kB / 1.13 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.8947, allocations: 245.5 kB / 1.13 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.8949, allocations: 37.97 kB / 1.13 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.8953, allocations: 45.95 kB / 1.13 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/0.8956, allocations: 145.9 kB / 1.131 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002204/0.8978, allocations: 1.719 MB / 1.132 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002082/0.8999, allocations: 1.85 MB / 1.134 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008522/0.9008, allocations: 0.5078 MB / 1.134 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001637/0.9024, allocations: 0.9951 MB / 1.135 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of Backend: time 2.3e-07/0.9024, allocations: 4 kB / 1.135 GB, free: 9.152 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003679/0.9061, allocations: 1.173 MB / 1.137 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of SimCode: time 0.004306/0.9104, allocations: 2.94 MB / 1.139 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of Templates: time 0.03371/0.9442, allocations: 16.87 MB / 1.156 GB, free: 1.309 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches