Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 293 MB / 309 MB, free: 4.812 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 188.1 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 0.6383 GB, free: 9.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007479/0.0007479, allocations: 95.83 kB / 0.7527 GB, free: 62.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005917/0.000592, allocations: 16 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.281, allocations: 116.4 MB / 0.9905 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6767/0.9578, allocations: 138.6 MB / 1.126 GB, free: 35.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.9581, allocations: 68.12 kB / 1.126 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001598/0.9597, allocations: 0.6647 MB / 1.127 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9597, allocations: 3.938 kB / 1.127 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.9597, allocations: 2.562 kB / 1.127 GB, free: 34.57 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.0002953/0.96, allocations: 338.5 kB / 1.127 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.9601, allocations: 8.031 kB / 1.127 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.9601, allocations: 10.59 kB / 1.127 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.9602, allocations: 165.2 kB / 1.127 GB, free: 34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.9602, allocations: 5.25 kB / 1.127 GB, free: 33.99 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.9603, allocations: 6.156 kB / 1.127 GB, free: 33.99 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.9604, allocations: 53.06 kB / 1.127 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.9605, allocations: 4.188 kB / 1.127 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.9605, allocations: 5.938 kB / 1.127 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.9605, allocations: 0 / 1.127 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.9606, allocations: 42.73 kB / 1.127 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.961, allocations: 271 kB / 1.127 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.9612, allocations: 46.45 kB / 1.127 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.9613, allocations: 28.11 kB / 1.128 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.9613, allocations: 3.188 kB / 1.128 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.9613, allocations: 35.25 kB / 1.128 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.9613, allocations: 0 / 1.128 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003274/0.9617, allocations: 99.2 kB / 1.128 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.9617, allocations: 54.64 kB / 1.128 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.864e-05/0.9618, allocations: 97.86 kB / 1.128 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.9618, allocations: 25.7 kB / 1.128 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.9618, allocations: 80.14 kB / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.9618, allocations: 19.36 kB / 1.128 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.9619, allocations: 0 / 1.128 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.239e-05/0.9619, allocations: 311.6 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.962, allocations: 23.05 kB / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.9621, allocations: 26.56 kB / 1.128 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.9622, allocations: 46.89 kB / 1.128 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9622, allocations: 0 / 1.128 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001624/0.9624, allocations: 88.84 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.9624, allocations: 8 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.9624, allocations: 0 / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.9624, allocations: 0.5625 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.791e-05/0.9625, allocations: 11.38 kB / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.9625, allocations: 0 / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.9626, allocations: 19.97 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.9626, allocations: 0 / 1.128 GB, free: 32.59 MB / 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 5.903e-05/0.9627, allocations: 113.8 kB / 1.129 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.9627, allocations: 4.75 kB / 1.129 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.9629, allocations: 86.36 kB / 1.129 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.9629, allocations: 0 / 1.129 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9629, allocations: 4.625 kB / 1.129 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.9629, allocations: 0 / 1.129 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.9631, allocations: 160.4 kB / 1.129 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.9631, allocations: 0 / 1.129 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.9631, allocations: 12.05 kB / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9631, allocations: 5.203 kB / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.9632, allocations: 0 / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9632, allocations: 0 / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.9632, allocations: 0 / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.9634, allocations: 174.3 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.9634, allocations: 88.53 kB / 1.129 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.9634, allocations: 4.781 kB / 1.129 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.9635, allocations: 8 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.9635, allocations: 4.797 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.9636, allocations: 0 / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.161e-05/0.9636, allocations: 79.28 kB / 1.129 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9636, allocations: 4.031 kB / 1.129 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001942/0.9638, allocations: 4 kB / 1.129 GB, free: 31.8 MB / 0.7292 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.0001221/0.9639, allocations: 103.3 kB / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.9641, allocations: 50.08 kB / 1.129 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.9641, allocations: 0.9375 kB / 1.129 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.105e-05/0.9642, allocations: 19.28 kB / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.9645, allocations: 7.938 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.9647, allocations: 116.7 kB / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.926e-05/0.9649, allocations: 0.6805 MB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.075e-05/0.9649, allocations: 0 / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.9649, allocations: 7.438 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.9649, allocations: 0 / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.002082/0.967, allocations: 357.9 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)