Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.874/2.874, allocations: 287.5 MB / 302.5 MB, free: 8.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 178.7 kB / 371 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 96.12 kB / 0.743 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004922, allocations: 11.7 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2102, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.932/1.142, allocations: 151.6 MB / 1.126 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/1.143, allocations: 80.23 kB / 1.126 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1374/1.28, allocations: 32.16 MB / 1.158 GB, free: 18.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/1.28, allocations: 0 / 1.158 GB, free: 18.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001192/1.28, allocations: 31.75 kB / 1.158 GB, free: 18.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.003965/1.284, allocations: 1.615 MB / 1.159 GB, free: 17.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.284, allocations: 12.02 kB / 1.159 GB, free: 17.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004897/1.285, allocations: 138.4 kB / 1.16 GB, free: 17.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/1.288, allocations: 0.8615 MB / 1.16 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.392e-05/1.288, allocations: 65.25 kB / 1.161 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/1.288, allocations: 79.05 kB / 1.161 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/1.29, allocations: 0.7767 MB / 1.161 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/1.29, allocations: 0 / 1.161 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.29, allocations: 28.19 kB / 1.161 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/1.29, allocations: 16 kB / 1.161 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/1.292, allocations: 0.5091 MB / 1.162 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006436/1.298, allocations: 2.245 MB / 1.164 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/1.301, allocations: 0.7959 MB / 1.165 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.072e-05/1.301, allocations: 16.09 kB / 1.165 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/1.303, allocations: 479.4 kB / 1.165 GB, free: 12.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 4.138e-06/1.303, allocations: 7.938 kB / 1.165 GB, free: 12.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.004029/1.307, allocations: 1.155 MB / 1.166 GB, free: 11.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/1.307, allocations: 311 kB / 1.167 GB, free: 11.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/1.309, allocations: 0.8082 MB / 1.168 GB, free: 10.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003618/1.309, allocations: 60.27 kB / 1.168 GB, free: 10.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005534/1.31, allocations: 485.4 kB / 1.168 GB, free: 10.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/1.31, allocations: 227 kB / 1.168 GB, free: 10.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.424e-05/1.31, allocations: 22.5 kB / 1.168 GB, free: 10.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.311, allocations: 342.8 kB / 1.169 GB, free: 9.789 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/1.312, allocations: 282.3 kB / 1.169 GB, free: 9.598 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/1.313, allocations: 0.5646 MB / 1.169 GB, free: 9.027 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/1.315, allocations: 448.1 kB / 1.17 GB, free: 8.688 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/1.315, allocations: 0 / 1.17 GB, free: 8.688 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003731/1.318, allocations: 1.107 MB / 1.171 GB, free: 7.781 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001244/1.32, allocations: 2.22 MB / 1.173 GB, free: 5.418 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/1.32, allocations: 4 kB / 1.173 GB, free: 5.414 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.934e-05/1.32, allocations: 12 kB / 1.173 GB, free: 5.402 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.321, allocations: 154.9 kB / 1.173 GB, free: 5.258 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.679e-05/1.321, allocations: 11.94 kB / 1.173 GB, free: 5.246 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/1.322, allocations: 121.2 kB / 1.173 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/1.323, allocations: 47.06 kB / 1.173 GB, free: 5.102 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.323, allocations: 4 kB / 1.173 GB, free: 5.098 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003054/1.326, allocations: 0.9565 MB / 1.174 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/1.326, allocations: 8 kB / 1.174 GB, free: 4.352 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.326, allocations: 11.95 kB / 1.174 GB, free: 4.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/1.327, allocations: 154.6 kB / 1.175 GB, free: 4.195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/1.327, allocations: 12 kB / 1.175 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.328, allocations: 112.2 kB / 1.175 GB, free: 4.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/1.328, allocations: 41.67 kB / 1.175 GB, free: 4.055 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 67 ($PRE.timSerRes.timeConverted,timSerRes.timeConverted,$PRE.timSerInp.timeConverted,timSerInp.timeConverted,$PRE.csvWriter.str,csvWriter.str,$whenCondition10,$PRE.TOut_F.nextTimeEvent,$whenCondition9,$PRE.TSupSetpoint_F.nextTimeEvent,$whenCondition8,$PRE.coolingValveSignal.nextTimeEvent,$whenCondition7,$PRE.fanFeedback.nextTimeEvent,$whenCondition6,$PRE.fanStatus.nextTimeEvent,$whenCondition5,$PRE.TSupply_F.nextTimeEvent,$whenCondition12,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,correlation.active,$PRE.correlation.tActivateLast,correlation.tActivateLast,correlation.sampleTrigger,timSerRes.active,$PRE.timSerRes.tActivateLast,timSerRes.tActivateLast,timSerRes.sampleTrigger,timSerInp.active,timSerInp.activate_internal,$PRE.timSerInp.tActivateLast,timSerInp.tActivateLast,timSerInp.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger,coolingValveSignal.nextTimeEvent,$PRE.coolingValveSignal.nextTimeEventScaled,coolingValveSignal.nextTimeEventScaled,$whenCondition11,TOut_F.nextTimeEvent,$PRE.TOut_F.nextTimeEventScaled,TOut_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,$PRE.TSupSetpoint_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEventScaled,fanFeedback.nextTimeEvent,$PRE.fanFeedback.nextTimeEventScaled,fanFeedback.nextTimeEventScaled,fanStatus.nextTimeEvent,$PRE.fanStatus.nextTimeEventScaled,fanStatus.nextTimeEventScaled,TSupply_F.nextTimeEvent,$PRE.TSupply_F.nextTimeEventScaled,TSupply_F.nextTimeEventScaled,cooValSta.uFanSta,cooValSta.limPI.trigger,$PRE.cooValSta.TOutThr.y,cooValSta.TOutThr.y,$PRE.cooValSta.uFanFeeThr.y,cooValSta.uFanFeeThr.y,$PRE.cooValSta.cha.u,cooValSta.cha.u,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 4 * 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.001011/1.33, allocations: 413.5 kB / 1.175 GB, free: 3.711 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/1.33, allocations: 114.6 kB / 1.175 GB, free: 3.598 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002966/1.333, allocations: 0.9243 MB / 1.176 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/1.333, allocations: 19.89 kB / 1.176 GB, free: 2.898 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.333, allocations: 0 / 1.176 GB, free: 2.898 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/1.333, allocations: 3.984 kB / 1.176 GB, free: 2.895 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005474/1.339, allocations: 1.969 MB / 1.178 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/1.339, allocations: 0 / 1.178 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007182/1.339, allocations: 94.72 kB / 1.178 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/1.339, allocations: 3.984 kB / 1.178 GB, free: 1.301 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.94e-05/1.339, allocations: 25.55 kB / 1.178 GB, free: 1.285 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/1.339, allocations: 0 / 1.178 GB, free: 1.285 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.339, allocations: 4 kB / 1.178 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004182/1.344, allocations: 1.349 MB / 1.18 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009952/1.345, allocations: 289.8 kB / 1.18 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003377/1.345, allocations: 25.73 kB / 1.18 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009037/1.346, allocations: 61.45 kB / 1.18 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/1.346, allocations: 77.62 kB / 1.18 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/1.347, allocations: 46.03 kB / 1.18 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001681/1.348, allocations: 0.6139 MB / 1.181 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.02e-07/1.348, allocations: 4 kB / 1.181 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002312/1.351, allocations: 439.9 kB / 1.181 GB, free: 14.98 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooValSta.limPI.I.y) * Number of discrete variables: 44 (cooValSta.limPI.trigger,correlation.sampleTrigger,timSerRes.sampleTrigger,timSerInp.sampleTrigger,timSerInp.activate_internal,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TOut_F.nextTimeEvent,TOut_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,TSupSetpoint_F.nextTimeEventScaled,coolingValveSignal.nextTimeEvent,coolingValveSignal.nextTimeEventScaled,fanFeedback.nextTimeEvent,fanFeedback.nextTimeEventScaled,fanStatus.nextTimeEvent,fanStatus.nextTimeEventScaled,TSupply_F.nextTimeEvent,TSupply_F.nextTimeEventScaled,cooValSta.uFanSta,cooValSta.TOutThr.y,cooValSta.uFanFeeThr.y,cooValSta.cha.u,csvWriter.str,csvWriter.sampleTrigger,plotConfiguration.tActivateLast,correlation.active,correlation.tActivateLast,timSerRes.active,timSerRes.tActivateLast,timSerRes.timeConverted,timSerInp.active,timSerInp.tActivateLast,timSerInp.timeConverted) * Number of discrete states: 17 (TOut_F.nextTimeEvent,TSupSetpoint_F.nextTimeEvent,coolingValveSignal.nextTimeEvent,fanFeedback.nextTimeEvent,fanStatus.nextTimeEvent,TSupply_F.nextTimeEvent,TSupply_F.nextTimeEventScaled,fanStatus.nextTimeEventScaled,fanFeedback.nextTimeEventScaled,cooValSta.uFanFeeThr.y,coolingValveSignal.nextTimeEventScaled,TSupSetpoint_F.nextTimeEventScaled,TOut_F.nextTimeEventScaled,cooValSta.TOutThr.y,cooValSta.cha.u,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 18 * 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.001806/1.352, allocations: 0.5611 MB / 1.182 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004713/1.357, allocations: 1.591 MB / 1.183 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.357, allocations: 3.938 kB / 1.183 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/1.359, allocations: 427.8 kB / 1.184 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/1.361, allocations: 272.2 kB / 1.184 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/1.366, allocations: 2.031 MB / 1.186 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009266/1.367, allocations: 1.082 MB / 1.187 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001506/1.369, allocations: 220.3 kB / 1.187 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/1.369, allocations: 114.1 kB / 1.187 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of SimCode: time 1.203e-06/1.369, allocations: 0 / 1.187 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of Templates: time 0.04974/1.419, allocations: 15.54 MB / 1.202 GB, free: 9.992 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & ./Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1)