Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.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.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.108/5.108, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 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.002404/0.002404, allocations: 356.4 kB / 0.644 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.311/4.311, allocations: 410.7 MB / 1.112 GB, free: 5.941 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.001781/0.001781, allocations: 186.8 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004818, allocations: 16 kB / 1.348 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5837, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve): time 0.004957/0.5887, allocations: 4.913 MB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003708/0.5925, allocations: 1.87 MB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.5937, allocations: 59.75 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.594, allocations: 116 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.5953, allocations: 262.6 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.5967, allocations: 0.4943 MB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.5987, allocations: 1.78 MB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.5999, allocations: 0.6992 MB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008105/0.6007, allocations: 0.5258 MB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.6012, allocations: 0.5137 MB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.6014, allocations: 44 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.6016, allocations: 51.98 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.6018, allocations: 212.5 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.602, allocations: 308.6 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.6038, allocations: 1.954 MB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.373e-06/0.6038, allocations: 4 kB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.511e-06/0.6038, allocations: 0.7188 kB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.256e-05/0.6039, allocations: 0 / 1.474 GB, free: 270.6 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: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.003359/0.6073, allocations: 1.787 MB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.6073, allocations: 11.62 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/0.6077, allocations: 201.6 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.6103, allocations: 1.177 MB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.6104, allocations: 114.8 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.6106, allocations: 152 kB / 1.478 GB, free: 267 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.6133, allocations: 1.304 MB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.6134, allocations: 3.984 kB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.6135, allocations: 60 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.6136, allocations: 32.97 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.6159, allocations: 0.9188 MB / 1.48 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007767/0.6237, allocations: 4.528 MB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.6253, allocations: 0.6584 MB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007144/0.6261, allocations: 324.2 kB / 1.485 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.069e-05/0.6261, allocations: 14.84 kB / 1.485 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009128/0.6271, allocations: 428.4 kB / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=79): time 4.129e-06/0.6271, allocations: 0 / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=79): time 0.002273/0.6294, allocations: 0.8575 MB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.6295, allocations: 136.5 kB / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.6313, allocations: 1.172 MB / 1.488 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.6315, allocations: 57.7 kB / 1.488 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/0.6321, allocations: 0.777 MB / 1.489 GB, free: 255.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.6323, allocations: 257.4 kB / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.6324, allocations: 24 kB / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.6325, allocations: 350.9 kB / 1.489 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000873/0.6334, allocations: 320.5 kB / 1.489 GB, free: 254.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.6344, allocations: 0.7095 MB / 1.49 GB, free: 253.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009672/0.6354, allocations: 413.5 kB / 1.491 GB, free: 253.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.424e-06/0.6354, allocations: 4 kB / 1.491 GB, free: 253.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002543/0.638, allocations: 1.164 MB / 1.492 GB, free: 252.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.6382, allocations: 450.9 kB / 1.492 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.6383, allocations: 12.5 kB / 1.492 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/0.6383, allocations: 22.16 kB / 1.492 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.6393, allocations: 203.6 kB / 1.492 GB, free: 251.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.894e-05/0.6394, allocations: 27.92 kB / 1.492 GB, free: 251.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.6405, allocations: 183.2 kB / 1.493 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.6407, allocations: 55.98 kB / 1.493 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.6407, allocations: 4 kB / 1.493 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002197/0.6429, allocations: 0.992 MB / 1.494 GB, free: 250.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.643, allocations: 8 kB / 1.494 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.643, allocations: 24 kB / 1.494 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008617/0.6439, allocations: 195.6 kB / 1.494 GB, free: 249.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.6439, allocations: 24.7 kB / 1.494 GB, free: 249.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.645, allocations: 158.1 kB / 1.494 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.6451, allocations: 51.98 kB / 1.494 GB, free: 249.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition4,$whenCondition5,$whenCondition6,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.y,uSupFan.y,uSupFan3.y,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,uSupFan2.y,$whenCondition2,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u,uSupFan1.y,$whenCondition1,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,cooVal3.limPI.cheYMinMax.y,cooVal2.limPI.cheYMinMax.y,cooVal1.limPI.cheYMinMax.y,cooVal.limPI.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 1 * 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.0007833/0.6459, allocations: 442.9 kB / 1.494 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.6461, allocations: 138.2 kB / 1.495 GB, free: 249.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.6479, allocations: 0.7142 MB / 1.495 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.6479, allocations: 9.875 kB / 1.495 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.372e-06/0.648, allocations: 1.125 kB / 1.495 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.648, allocations: 7.984 kB / 1.495 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/0.6515, allocations: 2.151 MB / 1.497 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.147e-06/0.6516, allocations: 0 / 1.497 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/0.6522, allocations: 112.4 kB / 1.497 GB, free: 246.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.6522, allocations: 4.75 kB / 1.497 GB, free: 246.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/0.6523, allocations: 27.94 kB / 1.498 GB, free: 246 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.383e-06/0.6523, allocations: 4.969 kB / 1.498 GB, free: 246 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.116e-06/0.6523, allocations: 4 kB / 1.498 GB, free: 246 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.6546, allocations: 1.313 MB / 1.499 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.6549, allocations: 215.2 kB / 1.499 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.6551, allocations: 24 kB / 1.499 GB, free: 244.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007555/0.6559, allocations: 35.92 kB / 1.499 GB, free: 244.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.6561, allocations: 84.67 kB / 1.499 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.634e-05/0.6562, allocations: 32.92 kB / 1.499 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001146/0.6574, allocations: 0.7538 MB / 1.5 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.76e-07/0.6574, allocations: 0.7812 kB / 1.5 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001949/0.6593, allocations: 493.9 kB / 1.5 GB, free: 243.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (cooVal1.limPI.I.y,cooVal2.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal1.limPI.trigger,$whenCondition1,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal2.limPI.trigger,$whenCondition2,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.y) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002305/0.6596, allocations: 153.6 kB / 1.501 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003026/0.6626, allocations: 1.417 MB / 1.502 GB, free: 241.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.102e-06/0.6627, allocations: 0 / 1.502 GB, free: 241.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007863/0.6635, allocations: 307.8 kB / 1.502 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.6653, allocations: 256.5 kB / 1.502 GB, free: 240.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.6698, allocations: 2.715 MB / 1.505 GB, free: 238.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007484/0.6706, allocations: 1.222 MB / 1.506 GB, free: 237 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001634/0.6722, allocations: 219.9 kB / 1.507 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.6726, allocations: 111.4 kB / 1.507 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.76e-06/0.6726, allocations: 0 / 1.507 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.03175/0.7044, allocations: 11.92 MB / 1.518 GB, free: 225.1 MB / 0.8542 GB