Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.595/1.595, allocations: 297.8 MB / 313.7 MB, free: 64 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.0009842/0.0009842, allocations: 183.5 kB / 384.6 MB, free: 10.78 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.293/1.293, allocations: 223.2 MB / 0.6626 GB, free: 4.273 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.0007572/0.0007571, allocations: 86.22 kB / 0.7808 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004296, allocations: 16 kB / 0.9088 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6452/0.6456, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.8284, allocations: 141.8 MB / 1.165 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.8286, allocations: 74.09 kB / 1.165 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.8401, allocations: 4.014 MB / 1.169 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8402, allocations: 0 / 1.169 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.8402, allocations: 4 kB / 1.169 GB, free: 15.02 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00107/0.8413, allocations: 0.5362 MB / 1.169 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.8413, allocations: 9.062 kB / 1.169 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.8415, allocations: 35.41 kB / 1.169 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.8416, allocations: 187.9 kB / 1.17 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.8417, allocations: 22.8 kB / 1.17 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.8418, allocations: 49.34 kB / 1.17 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005265/0.8424, allocations: 254.7 kB / 1.17 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.8424, allocations: 4.688 kB / 1.17 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.8424, allocations: 8.922 kB / 1.17 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.8424, allocations: 4 kB / 1.17 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.8427, allocations: 131.1 kB / 1.17 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.8439, allocations: 0.5857 MB / 1.171 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/0.8446, allocations: 420.9 kB / 1.171 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.8449, allocations: 212.5 kB / 1.171 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.8449, allocations: 4 kB / 1.171 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006785/0.8456, allocations: 376 kB / 1.172 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=46): time 2.334e-06/0.8456, allocations: 0 / 1.172 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46): time 0.001204/0.8468, allocations: 0.6675 MB / 1.172 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.8469, allocations: 78.58 kB / 1.172 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.8471, allocations: 140.8 kB / 1.172 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.71e-05/0.8471, allocations: 52.33 kB / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.8472, allocations: 98.97 kB / 1.173 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.8473, allocations: 104.1 kB / 1.173 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.8474, allocations: 12 kB / 1.173 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8475, allocations: 335 kB / 1.173 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.8479, allocations: 153.1 kB / 1.173 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.8483, allocations: 292.5 kB / 1.173 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/0.8489, allocations: 460.5 kB / 1.174 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.8489, allocations: 4 kB / 1.174 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009645/0.8499, allocations: 0.5815 MB / 1.174 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.483e-05/0.85, allocations: 66.83 kB / 1.174 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.85, allocations: 4 kB / 1.174 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.85, allocations: 8 kB / 1.174 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.8502, allocations: 46.25 kB / 1.175 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.8502, allocations: 18.22 kB / 1.175 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.8507, allocations: 104.1 kB / 1.175 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.8508, allocations: 36.45 kB / 1.175 GB, free: 9.312 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0002104/0.851, allocations: 187 kB / 1.175 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.851, allocations: 26.62 kB / 1.175 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.8511, allocations: 27.39 kB / 1.175 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.8511, allocations: 4 kB / 1.175 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.8511, allocations: 1.188 kB / 1.175 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.8511, allocations: 6.25 kB / 1.175 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.8528, allocations: 1.055 MB / 1.176 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8528, allocations: 0 / 1.176 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/0.8529, allocations: 22.19 kB / 1.176 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.8529, allocations: 2.766 kB / 1.176 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.853, allocations: 23.3 kB / 1.176 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.853, allocations: 4.062 kB / 1.176 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.853, allocations: 5.062 kB / 1.176 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/0.8539, allocations: 0.6461 MB / 1.177 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.8539, allocations: 93.48 kB / 1.177 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.854, allocations: 28.09 kB / 1.177 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.8542, allocations: 35.97 kB / 1.177 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.8543, allocations: 47.91 kB / 1.177 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.8544, allocations: 31.98 kB / 1.177 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.8544, allocations: 103.2 kB / 1.177 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8544, allocations: 0 / 1.177 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004506/0.8549, allocations: 108 kB / 1.177 GB, free: 7.016 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002509/0.8552, allocations: 167.2 kB / 1.177 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000809/0.856, allocations: 0.5506 MB / 1.178 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.856, allocations: 1.125 kB / 1.178 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.8564, allocations: 311.7 kB / 1.178 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.8568, allocations: 49.7 kB / 1.178 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008331/0.8576, allocations: 0.5073 MB / 1.179 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.8579, allocations: 0.7335 MB / 1.179 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.849e-05/0.858, allocations: 33.78 kB / 1.179 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.8581, allocations: 31.42 kB / 1.179 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.8581, allocations: 0 / 1.179 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of Templates: time 0.008271/0.8664, allocations: 3.889 MB / 1.183 GB, free: 0.8008 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1)