Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007928/0.007928, allocations: 103.1 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001778, allocations: 191.2 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.688/1.688, allocations: 251.7 MB / 0.5094 GB, free: 3.066 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.89 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.25, allocations: 104.7 MB / 0.8281 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002928/0.253, allocations: 1.734 MB / 0.8298 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007646/0.2538, allocations: 387.8 kB / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.642e-05/0.2539, allocations: 0 / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.254, allocations: 23.67 kB / 0.8302 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.901e-05/0.2541, allocations: 35.72 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.2545, allocations: 103.8 kB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.2548, allocations: 255.3 kB / 0.8305 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.2551, allocations: 57.64 kB / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.2552, allocations: 91.77 kB / 0.8307 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.2553, allocations: 99.56 kB / 0.8308 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.2554, allocations: 20 kB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.574e-05/0.2554, allocations: 24 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.2555, allocations: 63.8 kB / 0.8309 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.2557, allocations: 107.5 kB / 0.831 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.2559, allocations: 223.1 kB / 0.8312 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2559, allocations: 0 / 0.8312 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2559, allocations: 0 / 0.8312 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.256, allocations: 4 kB / 0.8312 GB, free: 12.97 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008908/0.2569, allocations: 0.5132 MB / 0.8317 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2569, allocations: 12.02 kB / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.077e-05/0.257, allocations: 20.75 kB / 0.8317 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.2574, allocations: 272.4 kB / 0.832 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.2575, allocations: 20.58 kB / 0.832 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.987e-05/0.2576, allocations: 32.36 kB / 0.832 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.2579, allocations: 176.8 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2579, allocations: 3.938 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.2579, allocations: 11.98 kB / 0.8322 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.2579, allocations: 4 kB / 0.8322 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.2582, allocations: 112.2 kB / 0.8323 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.259, allocations: 0.5195 MB / 0.8328 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.2594, allocations: 206.4 kB / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.2596, allocations: 92.83 kB / 0.8331 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.2596, allocations: 8 kB / 0.8331 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.2601, allocations: 259.3 kB / 0.8334 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 1.573e-06/0.2601, allocations: 0 / 0.8334 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.0007137/0.2608, allocations: 426 kB / 0.8338 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.2609, allocations: 71.33 kB / 0.8338 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.261, allocations: 152.5 kB / 0.834 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.261, allocations: 45.7 kB / 0.834 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/0.2611, allocations: 112.9 kB / 0.8341 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.013e-05/0.2612, allocations: 94.88 kB / 0.8342 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.2613, allocations: 86.23 kB / 0.8343 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.2615, allocations: 338.8 kB / 0.8346 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.2617, allocations: 89.09 kB / 0.8347 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.2619, allocations: 154.3 kB / 0.8349 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.2622, allocations: 223.2 kB / 0.8351 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2622, allocations: 0 / 0.8351 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004493/0.2627, allocations: 323.8 kB / 0.8354 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2627, allocations: 7.938 kB / 0.8354 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2627, allocations: 4 kB / 0.8354 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.2627, allocations: 0 / 0.8354 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.2629, allocations: 47.86 kB / 0.8355 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2629, allocations: 3.984 kB / 0.8355 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.2631, allocations: 35.73 kB / 0.8355 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.2631, allocations: 16 kB / 0.8355 GB, free: 8.297 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 (resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul.pulseStart,$PRE.booPul.pulseStart,pre.u,$PRE.pre.u,booPul1.pulseStart,$PRE.booPul1.pulseStart,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.yAcc,$PRE.accuTimer.yAcc,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.2633, allocations: 171 kB / 0.8357 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.2633, allocations: 23.75 kB / 0.8357 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.483e-05/0.2634, allocations: 21.97 kB / 0.8357 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2634, allocations: 4 kB / 0.8357 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2634, allocations: 4 kB / 0.8357 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.2634, allocations: 3.984 kB / 0.8357 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009749/0.2644, allocations: 0.7485 MB / 0.8365 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2644, allocations: 8 kB / 0.8365 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.2645, allocations: 11.94 kB / 0.8365 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.2645, allocations: 4 kB / 0.8365 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.2646, allocations: 11.98 kB / 0.8365 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2646, allocations: 0 / 0.8365 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2646, allocations: 0 / 0.8365 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.2651, allocations: 440.7 kB / 0.8369 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.2652, allocations: 96.77 kB / 0.837 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.2652, allocations: 15.98 kB / 0.837 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.2654, allocations: 23.97 kB / 0.837 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2655, allocations: 35.95 kB / 0.8371 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.2655, allocations: 15.98 kB / 0.8371 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.956e-05/0.2656, allocations: 107.2 kB / 0.8372 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2656, allocations: 0 / 0.8372 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002976/0.2659, allocations: 68 kB / 0.8373 GB, free: 6.395 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (booPul2.y,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer2.reset_internal,accuTimer1.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001857/0.2661, allocations: 134.1 kB / 0.8374 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004696/0.2666, allocations: 282.2 kB / 0.8377 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2666, allocations: 0 / 0.8377 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.2668, allocations: 151.9 kB / 0.8378 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.2672, allocations: 45.38 kB / 0.8378 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000757/0.268, allocations: 408.8 kB / 0.8382 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.2683, allocations: 0.7374 MB / 0.839 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.2684, allocations: 30.97 kB / 0.839 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.2685, allocations: 31.42 kB / 0.839 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.2685, allocations: 0 / 0.839 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of Templates: time 0.005757/0.2743, allocations: 2.659 MB / 0.8416 GB, free: 1.898 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)