Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.903/4.903, allocations: 0.5623 GB / 0.5775 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003591/0.003591, allocations: 359.6 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.523/4.523, allocations: 410.7 MB / 1.113 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001861/0.00186, allocations: 183.9 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006965/0.0006967, allocations: 12 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7569, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2517/1.009, allocations: 151.6 MB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/1.009, allocations: 85.78 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.1471/1.156, allocations: 32.38 MB / 1.641 GB, free: 100.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.364e-06/1.156, allocations: 0 / 1.641 GB, free: 100.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001268/1.156, allocations: 32.88 kB / 1.641 GB, free: 100.3 MB / 0.8542 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.004535/1.161, allocations: 1.607 MB / 1.643 GB, free: 98.62 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.161, allocations: 15.62 kB / 1.643 GB, free: 98.61 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007078/1.162, allocations: 139.9 kB / 1.643 GB, free: 98.47 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/1.165, allocations: 0.8609 MB / 1.644 GB, free: 97.56 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/1.165, allocations: 62.78 kB / 1.644 GB, free: 97.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002506/1.165, allocations: 89.3 kB / 1.644 GB, free: 97.41 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/1.168, allocations: 0.7701 MB / 1.645 GB, free: 96.61 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/1.168, allocations: 3.938 kB / 1.645 GB, free: 96.61 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/1.168, allocations: 31.98 kB / 1.645 GB, free: 96.58 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/1.168, allocations: 19.98 kB / 1.645 GB, free: 96.56 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/1.17, allocations: 0.503 MB / 1.645 GB, free: 96.06 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006032/1.176, allocations: 2.246 MB / 1.647 GB, free: 93.78 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/1.178, allocations: 0.796 MB / 1.648 GB, free: 92.96 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00094/1.179, allocations: 295.6 kB / 1.648 GB, free: 92.68 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.604e-05/1.179, allocations: 16.64 kB / 1.648 GB, free: 92.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/1.181, allocations: 478.4 kB / 1.649 GB, free: 92.18 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=83): time 4.499e-06/1.181, allocations: 0 / 1.649 GB, free: 92.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=83): time 0.00353/1.184, allocations: 1.076 MB / 1.65 GB, free: 91.11 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.184, allocations: 307.7 kB / 1.65 GB, free: 90.74 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/1.187, allocations: 0.929 MB / 1.651 GB, free: 89.79 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004384/1.188, allocations: 53.7 kB / 1.651 GB, free: 89.73 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/1.188, allocations: 481.4 kB / 1.652 GB, free: 89.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/1.189, allocations: 229.6 kB / 1.652 GB, free: 89.03 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/1.189, allocations: 24 kB / 1.652 GB, free: 89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/1.189, allocations: 346.4 kB / 1.652 GB, free: 88.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/1.19, allocations: 280.3 kB / 1.652 GB, free: 88.39 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/1.191, allocations: 0.5692 MB / 1.653 GB, free: 87.71 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/1.193, allocations: 451.7 kB / 1.653 GB, free: 87.27 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/1.193, allocations: 0 / 1.653 GB, free: 87.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003509/1.196, allocations: 1.105 MB / 1.654 GB, free: 86.14 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002185/1.196, allocations: 363.7 kB / 1.655 GB, free: 85.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.196, allocations: 4.625 kB / 1.655 GB, free: 85.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/1.196, allocations: 12 kB / 1.655 GB, free: 85.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.198, allocations: 157.5 kB / 1.655 GB, free: 85.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.771e-05/1.198, allocations: 19.88 kB / 1.655 GB, free: 85.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/1.199, allocations: 124.6 kB / 1.655 GB, free: 85.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/1.199, allocations: 44.05 kB / 1.655 GB, free: 85.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.199, allocations: 4 kB / 1.655 GB, free: 85.34 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002999/1.202, allocations: 0.9603 MB / 1.656 GB, free: 84.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/1.202, allocations: 8 kB / 1.656 GB, free: 84.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.202, allocations: 12 kB / 1.656 GB, free: 84.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/1.204, allocations: 148.7 kB / 1.656 GB, free: 84.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/1.204, allocations: 12 kB / 1.656 GB, free: 84.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/1.205, allocations: 110.6 kB / 1.656 GB, free: 84.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.205, allocations: 39.98 kB / 1.656 GB, free: 84.04 MB / 0.8542 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.000939/1.206, allocations: 413.8 kB / 1.657 GB, free: 83.62 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/1.206, allocations: 118.5 kB / 1.657 GB, free: 83.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/1.209, allocations: 0.9316 MB / 1.658 GB, free: 82.56 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/1.209, allocations: 8 kB / 1.658 GB, free: 82.55 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-05/1.209, allocations: 2.188 kB / 1.658 GB, free: 82.55 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/1.209, allocations: 3.984 kB / 1.658 GB, free: 82.55 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/1.214, allocations: 1.978 MB / 1.66 GB, free: 80.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.214, allocations: 0 / 1.66 GB, free: 80.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/1.215, allocations: 83.91 kB / 1.66 GB, free: 80.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/1.215, allocations: 4.594 kB / 1.66 GB, free: 80.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-05/1.215, allocations: 28.5 kB / 1.66 GB, free: 80.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/1.215, allocations: 4 kB / 1.66 GB, free: 80.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.215, allocations: 1.281 kB / 1.66 GB, free: 80.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/1.219, allocations: 1.357 MB / 1.661 GB, free: 79.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000697/1.22, allocations: 291.4 kB / 1.662 GB, free: 78.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/1.22, allocations: 20.06 kB / 1.662 GB, free: 78.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008259/1.221, allocations: 65.31 kB / 1.662 GB, free: 78.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/1.221, allocations: 80.88 kB / 1.662 GB, free: 78.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/1.221, allocations: 43.97 kB / 1.662 GB, free: 78.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001234/1.222, allocations: 0.6194 MB / 1.662 GB, free: 77.89 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/1.222, allocations: 0 / 1.662 GB, free: 77.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001905/1.224, allocations: 438.9 kB / 1.663 GB, free: 77.46 MB / 0.8542 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.001574/1.226, allocations: 0.5591 MB / 1.663 GB, free: 77.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004113/1.23, allocations: 1.586 MB / 1.665 GB, free: 75.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.23, allocations: 3.938 kB / 1.665 GB, free: 75.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/1.231, allocations: 426.6 kB / 1.665 GB, free: 75 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/1.234, allocations: 284.9 kB / 1.666 GB, free: 74.72 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/1.238, allocations: 2.039 MB / 1.668 GB, free: 72.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/1.239, allocations: 1.086 MB / 1.669 GB, free: 71.54 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00136/1.24, allocations: 216.5 kB / 1.669 GB, free: 71.33 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004512/1.241, allocations: 115.4 kB / 1.669 GB, free: 71.21 MB / 0.8542 GB Notification: Performance of SimCode: time 9.92e-07/1.241, allocations: 4 kB / 1.669 GB, free: 71.21 MB / 0.8542 GB Notification: Performance of Templates: time 0.04259/1.283, allocations: 15.56 MB / 1.684 GB, free: 55.96 MB / 0.8542 GB