Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.855/1.855, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001848/0.001848, allocations: 189 kB / 377.1 MB, free: 1.512 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.848/1.848, allocations: 205.4 MB / 0.6367 GB, free: 9.562 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.001047/0.001047, allocations: 88.33 kB / 0.751 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005244/0.0005246, allocations: 8 kB / 0.8748 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3323, allocations: 116.3 MB / 0.9884 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8657/1.198, allocations: 139.6 MB / 1.125 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/1.198, allocations: 71.98 kB / 1.125 GB, free: 35.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01097/1.209, allocations: 3.998 MB / 1.129 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.254e-06/1.209, allocations: 0 / 1.129 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.209, allocations: 0 / 1.129 GB, free: 32.46 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007767/1.21, allocations: 0.5457 MB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.21, allocations: 12.02 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.285e-05/1.21, allocations: 34 kB / 1.129 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/1.21, allocations: 186.8 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/1.21, allocations: 21.05 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/1.211, allocations: 43.92 kB / 1.129 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/1.211, allocations: 257.7 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.211, allocations: 1.719 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/1.211, allocations: 10.94 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.211, allocations: 4 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/1.211, allocations: 130.7 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/1.212, allocations: 0.5882 MB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/1.213, allocations: 426.6 kB / 1.131 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/1.213, allocations: 8 kB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005146/1.213, allocations: 365.9 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=46): time 1.764e-06/1.213, allocations: 0 / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=46): time 0.0009173/1.214, allocations: 0.6711 MB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/1.214, allocations: 74.52 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/1.214, allocations: 133.6 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/1.214, allocations: 52.97 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/1.214, allocations: 104.6 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/1.214, allocations: 97.81 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/1.214, allocations: 20 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/1.215, allocations: 337.2 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/1.215, allocations: 150.2 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/1.215, allocations: 287 kB / 1.133 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/1.215, allocations: 221.1 kB / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.215, allocations: 0 / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007452/1.216, allocations: 0.5723 MB / 1.134 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/1.216, allocations: 70.73 kB / 1.134 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.216, allocations: 4 kB / 1.134 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/1.216, allocations: 9.312 kB / 1.134 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/1.216, allocations: 43.98 kB / 1.134 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.216, allocations: 19.89 kB / 1.134 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/1.217, allocations: 112.8 kB / 1.134 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/1.217, allocations: 31.42 kB / 1.134 GB, free: 27.23 MB / 0.7292 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.00016/1.217, allocations: 179.5 kB / 1.134 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/1.217, allocations: 27.28 kB / 1.134 GB, free: 27.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/1.217, allocations: 30.31 kB / 1.134 GB, free: 27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.217, allocations: 4 kB / 1.134 GB, free: 27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/1.217, allocations: 0 / 1.134 GB, free: 27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.217, allocations: 8.078 kB / 1.134 GB, free: 27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/1.219, allocations: 1.059 MB / 1.135 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.219, allocations: 3.938 kB / 1.135 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/1.219, allocations: 23.14 kB / 1.135 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.219, allocations: 4.656 kB / 1.135 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/1.219, allocations: 15.86 kB / 1.135 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.219, allocations: 4 kB / 1.135 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.219, allocations: 0.9375 kB / 1.135 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/1.219, allocations: 0.6728 MB / 1.136 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/1.22, allocations: 99.55 kB / 1.136 GB, free: 25.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.911e-05/1.22, allocations: 23.08 kB / 1.136 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/1.22, allocations: 34.27 kB / 1.136 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/1.22, allocations: 48.33 kB / 1.136 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/1.22, allocations: 35.41 kB / 1.136 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.665e-05/1.22, allocations: 106.4 kB / 1.136 GB, free: 25.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.22, allocations: 0 / 1.136 GB, free: 25.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004711/1.221, allocations: 105.3 kB / 1.137 GB, free: 24.95 MB / 0.7292 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.000249/1.221, allocations: 160.5 kB / 1.137 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007434/1.222, allocations: 0.5505 MB / 1.137 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.222, allocations: 0 / 1.137 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/1.222, allocations: 311.2 kB / 1.138 GB, free: 23.99 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/1.222, allocations: 29.23 kB / 1.138 GB, free: 23.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007907/1.223, allocations: 0.4972 MB / 1.138 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/1.223, allocations: 0.7367 MB / 1.139 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.434e-05/1.223, allocations: 32.23 kB / 1.139 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/1.223, allocations: 29.83 kB / 1.139 GB, free: 22.72 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.223, allocations: 0 / 1.139 GB, free: 22.72 MB / 0.7292 GB Notification: Performance of Templates: time 0.008288/1.232, allocations: 3.833 MB / 1.143 GB, free: 20.57 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1)