Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.582/1.582, allocations: 297.8 MB / 313.7 MB, free: 104 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 182.3 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.2 MB / 0.6626 GB, free: 4.254 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008734/0.0008737, allocations: 97.67 kB / 0.7808 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 24.45 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.5868, allocations: 120.3 MB / 1.026 GB, free: 55.75 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.7474, allocations: 140.8 MB / 1.164 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.7476, allocations: 71.39 kB / 1.164 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001537/0.7492, allocations: 0.6734 MB / 1.165 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7492, allocations: 0 / 1.165 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7492, allocations: 0 / 1.165 GB, free: 1.93 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002677/0.7495, allocations: 333.2 kB / 1.165 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.7495, allocations: 12.03 kB / 1.165 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.7496, allocations: 9.859 kB / 1.165 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.623e-05/0.7496, allocations: 169.5 kB / 1.165 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.7497, allocations: 4.375 kB / 1.165 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.7497, allocations: 384 / 1.165 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.7498, allocations: 55.34 kB / 1.165 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7499, allocations: 2.125 kB / 1.165 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.7499, allocations: 3.938 kB / 1.165 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.7499, allocations: 0 / 1.165 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.75, allocations: 44.75 kB / 1.165 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.7503, allocations: 264.8 kB / 1.165 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.7505, allocations: 50.78 kB / 1.165 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/0.7505, allocations: 27.88 kB / 1.165 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.7506, allocations: 1.266 kB / 1.165 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.7506, allocations: 36.7 kB / 1.166 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.7506, allocations: 1.156 kB / 1.166 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002955/0.7509, allocations: 100 kB / 1.166 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.7509, allocations: 52.3 kB / 1.166 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.307e-05/0.751, allocations: 99.31 kB / 1.166 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.751, allocations: 32.77 kB / 1.166 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.751, allocations: 84.75 kB / 1.166 GB, free: 484 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.751, allocations: 8.5 kB / 1.166 GB, free: 476 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.7511, allocations: 0 / 1.166 GB, free: 476 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.7511, allocations: 312.5 kB / 1.166 GB, free: 156 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.7512, allocations: 26.33 kB / 1.166 GB, free: 136 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.74e-05/0.7513, allocations: 20.16 kB / 1.166 GB, free: 124 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.7514, allocations: 53.5 kB / 1.166 GB, free: 80 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7514, allocations: 0 / 1.166 GB, free: 80 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001684/0.7516, allocations: 86.91 kB / 1.166 GB, free: 0 / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.7516, allocations: 4.141 kB / 1.166 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.7516, allocations: 0.5625 kB / 1.166 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.7517, allocations: 0.7969 kB / 1.166 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.7518, allocations: 18.31 kB / 1.166 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.7518, allocations: 0.7031 kB / 1.166 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/0.7519, allocations: 12.41 kB / 1.166 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.752, allocations: 2.781 kB / 1.166 GB, free: 0 / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 9.989e-05/0.7521, allocations: 115.8 kB / 1.166 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.7521, allocations: 4.984 kB / 1.167 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.7523, allocations: 87.14 kB / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7523, allocations: 2.219 kB / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7523, allocations: 1.781 kB / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.7524, allocations: 0 / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.7525, allocations: 158.6 kB / 1.167 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7525, allocations: 6 kB / 1.167 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.7526, allocations: 11.97 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.7526, allocations: 0 / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.7526, allocations: 0.9844 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7526, allocations: 3.703 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7526, allocations: 0 / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.7529, allocations: 174.8 kB / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.7529, allocations: 84.73 kB / 1.167 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.753, allocations: 2.031 kB / 1.167 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.753, allocations: 6.719 kB / 1.167 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.7531, allocations: 9.406 kB / 1.167 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.7531, allocations: 4.453 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.7531, allocations: 84.78 kB / 1.167 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7532, allocations: 0 / 1.167 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001971/0.7534, allocations: 4 kB / 1.167 GB, free: 15.22 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001271/0.7535, allocations: 96.34 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.7537, allocations: 50.22 kB / 1.167 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7537, allocations: 0.8438 kB / 1.167 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.7538, allocations: 21.2 kB / 1.167 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.7541, allocations: 16.81 kB / 1.167 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.7543, allocations: 110.4 kB / 1.167 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.7546, allocations: 0.6757 MB / 1.168 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.7546, allocations: 1.453 kB / 1.168 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.7546, allocations: 11.44 kB / 1.168 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.7546, allocations: 0.75 kB / 1.168 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.00228/0.7569, allocations: 351.4 kB / 1.168 GB, free: 14.02 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)