Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.385/2.385, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002221/0.002221, allocations: 177.5 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.445/2.445, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 88.38 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005002/0.0005002, allocations: 15.94 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2118, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2465/0.4583, allocations: 146.3 MB / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/0.4587, allocations: 87.95 kB / 1.042 GB, free: 14.85 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7544/1.213, allocations: 33.09 MB / 1.074 GB, free: 145.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.786e-06/1.213, allocations: 0 / 1.074 GB, free: 145.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001525/1.213, allocations: 31.2 kB / 1.074 GB, free: 145.6 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.005393/1.219, allocations: 1.619 MB / 1.076 GB, free: 144.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.219, allocations: 12.78 kB / 1.076 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008471/1.22, allocations: 148 kB / 1.076 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003661/1.223, allocations: 0.8653 MB / 1.077 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/1.224, allocations: 72.03 kB / 1.077 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/1.224, allocations: 83.84 kB / 1.077 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/1.226, allocations: 0.778 MB / 1.078 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/1.226, allocations: 1.094 kB / 1.078 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/1.227, allocations: 32.09 kB / 1.078 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/1.227, allocations: 20.03 kB / 1.078 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/1.229, allocations: 0.5098 MB / 1.078 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007874/1.237, allocations: 2.281 MB / 1.08 GB, free: 143.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/1.24, allocations: 0.7138 MB / 1.081 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.243e-05/1.24, allocations: 9.875 kB / 1.081 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/1.241, allocations: 477.7 kB / 1.082 GB, free: 143.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 4.779e-06/1.241, allocations: 4 kB / 1.082 GB, free: 143.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.004228/1.246, allocations: 1.141 MB / 1.083 GB, free: 142.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.246, allocations: 312.3 kB / 1.083 GB, free: 142.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/1.248, allocations: 0.8193 MB / 1.084 GB, free: 142.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003947/1.249, allocations: 55.77 kB / 1.084 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/1.249, allocations: 489.4 kB / 1.084 GB, free: 141.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/1.25, allocations: 228.3 kB / 1.085 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/1.25, allocations: 23.22 kB / 1.085 GB, free: 141.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.25, allocations: 343.4 kB / 1.085 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/1.251, allocations: 284.1 kB / 1.085 GB, free: 141.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/1.253, allocations: 0.5665 MB / 1.086 GB, free: 141 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/1.254, allocations: 442.7 kB / 1.086 GB, free: 140.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/1.254, allocations: 0 / 1.086 GB, free: 140.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003649/1.258, allocations: 1.108 MB / 1.087 GB, free: 140.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005115/1.259, allocations: 2.214 MB / 1.089 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.259, allocations: 2.625 kB / 1.089 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.909e-05/1.259, allocations: 14.27 kB / 1.089 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.26, allocations: 159.5 kB / 1.09 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/1.26, allocations: 11.59 kB / 1.09 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/1.261, allocations: 121.2 kB / 1.09 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/1.262, allocations: 43.39 kB / 1.09 GB, free: 137.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.262, allocations: 7.844 kB / 1.09 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002875/1.264, allocations: 0.9646 MB / 1.091 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.264, allocations: 3.781 kB / 1.091 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.265, allocations: 16.41 kB / 1.091 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009589/1.265, allocations: 155.4 kB / 1.091 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/1.266, allocations: 11.47 kB / 1.091 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.267, allocations: 109.6 kB / 1.091 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/1.267, allocations: 42.92 kB / 1.091 GB, free: 137.1 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,plotConfiguration.activate_internal,$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) * 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.0009174/1.268, allocations: 410.1 kB / 1.091 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/1.268, allocations: 120 kB / 1.092 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/1.271, allocations: 0.9222 MB / 1.092 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.271, allocations: 7.688 kB / 1.092 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.271, allocations: 0 / 1.092 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/1.271, allocations: 3.984 kB / 1.092 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00548/1.277, allocations: 1.962 MB / 1.094 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/1.277, allocations: 0 / 1.094 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008281/1.278, allocations: 94.14 kB / 1.094 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/1.278, allocations: 3.938 kB / 1.094 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/1.278, allocations: 26.83 kB / 1.094 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/1.278, allocations: 0 / 1.094 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.278, allocations: 3.938 kB / 1.095 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004879/1.283, allocations: 1.333 MB / 1.096 GB, free: 134.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009804/1.284, allocations: 289.4 kB / 1.096 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003246/1.284, allocations: 26.23 kB / 1.096 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/1.285, allocations: 60.7 kB / 1.096 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/1.286, allocations: 78.31 kB / 1.096 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.286, allocations: 39.31 kB / 1.096 GB, free: 133.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001971/1.288, allocations: 0.6252 MB / 1.097 GB, free: 133.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.21e-07/1.288, allocations: 0 / 1.097 GB, free: 133.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003278/1.291, allocations: 455 kB / 1.097 GB, free: 133.3 MB / 0.698 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 (88): * Single equations (assignments): 69 * 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.002354/1.294, allocations: 0.5646 MB / 1.098 GB, free: 133.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005361/1.299, allocations: 1.58 MB / 1.099 GB, free: 132.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.299, allocations: 3.562 kB / 1.099 GB, free: 132.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/1.301, allocations: 424.7 kB / 1.1 GB, free: 131.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/1.304, allocations: 276.2 kB / 1.1 GB, free: 131.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006205/1.31, allocations: 2.057 MB / 1.102 GB, free: 129.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008555/1.311, allocations: 1.094 MB / 1.103 GB, free: 128.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001829/1.313, allocations: 220.3 kB / 1.103 GB, free: 128.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/1.313, allocations: 115.4 kB / 1.103 GB, free: 128.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.253e-06/1.313, allocations: 0 / 1.103 GB, free: 128.2 MB / 0.698 GB Notification: Performance of Templates: time 0.05256/1.366, allocations: 15.67 MB / 1.119 GB, free: 112.7 MB / 0.698 GB