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.632/1.632, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001096/0.001096, allocations: 188.8 kB / 366.7 MB, free: 1.676 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.876/1.876, allocations: 205.3 MB / 0.626 GB, free: 7.176 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.0008001/0.0008002, allocations: 80.84 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.705e-05, allocations: 11.98 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6489/0.6489, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.8259, allocations: 138.9 MB / 1.109 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.8261, allocations: 64.56 kB / 1.109 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01166/0.8378, allocations: 3.968 MB / 1.113 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8378, allocations: 0 / 1.113 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.8379, allocations: 8 kB / 1.113 GB, free: 7.383 MB / 0.7136 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.0007963/0.8387, allocations: 0.5309 MB / 1.113 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.8387, allocations: 8.031 kB / 1.113 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.8388, allocations: 35.8 kB / 1.113 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.839, allocations: 176.8 kB / 1.114 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.839, allocations: 7.984 kB / 1.114 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.8391, allocations: 43.97 kB / 1.114 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002357/0.8393, allocations: 107.2 kB / 1.114 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.8397, allocations: 228.8 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.8397, allocations: 0 / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.8398, allocations: 7.984 kB / 1.114 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.8398, allocations: 4 kB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008749/0.8407, allocations: 0.5521 MB / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.8411, allocations: 387.8 kB / 1.115 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.8414, allocations: 188.9 kB / 1.115 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.8414, allocations: 4 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005326/0.842, allocations: 344.7 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 3.386e-06/0.842, allocations: 4 kB / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.0007762/0.8428, allocations: 485.9 kB / 1.116 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.8428, allocations: 67.41 kB / 1.116 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.8429, allocations: 125.9 kB / 1.116 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.843, allocations: 41.7 kB / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.8431, allocations: 97.44 kB / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.332e-05/0.8432, allocations: 102.8 kB / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.8432, allocations: 0 / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8433, allocations: 346.8 kB / 1.117 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.8436, allocations: 129.3 kB / 1.117 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.8439, allocations: 269.8 kB / 1.117 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.8444, allocations: 157.1 kB / 1.117 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.8444, allocations: 0 / 1.117 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009216/0.8453, allocations: 475.1 kB / 1.118 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.8454, allocations: 72.8 kB / 1.118 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.8454, allocations: 4 kB / 1.118 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.8454, allocations: 8.562 kB / 1.118 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.8456, allocations: 47.86 kB / 1.118 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/0.8456, allocations: 13.95 kB / 1.118 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.8461, allocations: 99.72 kB / 1.118 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.8462, allocations: 31.98 kB / 1.118 GB, free: 1.965 MB / 0.7136 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 () * 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.0001551/0.8463, allocations: 150 kB / 1.118 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.8464, allocations: 31.8 kB / 1.118 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.8464, allocations: 22.19 kB / 1.118 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.8464, allocations: 4 kB / 1.118 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.8465, allocations: 0 / 1.118 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.8465, allocations: 3.984 kB / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.8478, allocations: 0.9606 MB / 1.119 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/0.8479, allocations: 10.69 kB / 1.119 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.696e-05/0.8479, allocations: 19.92 kB / 1.119 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.848, allocations: 7.984 kB / 1.119 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.848, allocations: 11.94 kB / 1.119 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.848, allocations: 4 kB / 1.119 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.848, allocations: 3.938 kB / 1.119 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007115/0.8487, allocations: 0.6171 MB / 1.12 GB, free: 28 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.8488, allocations: 100.8 kB / 1.12 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.8489, allocations: 16.55 kB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.8491, allocations: 31.95 kB / 1.12 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/0.8492, allocations: 47.92 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/0.8492, allocations: 35.97 kB / 1.12 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.8493, allocations: 96.62 kB / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8493, allocations: 0 / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004212/0.8497, allocations: 89.86 kB / 1.12 GB, free: 15.6 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) * 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.0002398/0.85, allocations: 150.3 kB / 1.12 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006661/0.8507, allocations: 0.5062 MB / 1.121 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8507, allocations: 0 / 1.121 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.851, allocations: 283.8 kB / 1.121 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.8513, allocations: 23.92 kB / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.852, allocations: 338.1 kB / 1.121 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.8523, allocations: 0.7386 MB / 1.122 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.283e-05/0.8524, allocations: 39.2 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/0.8525, allocations: 27.44 kB / 1.122 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.8525, allocations: 4 kB / 1.122 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.007801/0.8603, allocations: 3.667 MB / 1.126 GB, free: 9.836 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)