Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001163, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001781, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.97/2.97, allocations: 472.6 MB / 0.7451 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 60.36 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3607, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.00223/0.3629, allocations: 0.8102 MB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3647, allocations: 1.352 MB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.3648, allocations: 0 / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.944e-05/0.3649, allocations: 15.8 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.287e-05/0.365, allocations: 23.78 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.3658, allocations: 286.5 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.3662, allocations: 395.4 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.3663, allocations: 40.88 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.3665, allocations: 147.7 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.3667, allocations: 147.5 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.291e-05/0.3668, allocations: 40 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3669, allocations: 51.98 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.367, allocations: 63.88 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.3671, allocations: 155.5 kB / 1.072 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.3675, allocations: 327.4 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3675, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3675, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3675, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 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.0009926/0.3685, allocations: 0.6201 MB / 1.073 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3686, allocations: 8.031 kB / 1.073 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.932e-05/0.3687, allocations: 24.84 kB / 1.073 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007338/0.3694, allocations: 304.5 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.3695, allocations: 24.59 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.3695, allocations: 40.36 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.37, allocations: 260.6 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.37, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.37, allocations: 11.98 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.37, allocations: 4 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.3703, allocations: 128.6 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.3711, allocations: 0.6061 MB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.3717, allocations: 415.6 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.372, allocations: 180.9 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.372, allocations: 7.938 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005303/0.3725, allocations: 366.8 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 1.854e-06/0.3725, allocations: 0 / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.00101/0.3735, allocations: 0.6583 MB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.3736, allocations: 67.39 kB / 1.076 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3737, allocations: 148.8 kB / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.845e-05/0.3738, allocations: 57.69 kB / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.3739, allocations: 101 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.374, allocations: 102.7 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.3742, allocations: 122.2 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3743, allocations: 338.8 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.3746, allocations: 141.1 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.3749, allocations: 296.1 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.3755, allocations: 466.3 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3755, allocations: 0 / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008257/0.3763, allocations: 0.5724 MB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.107e-05/0.3764, allocations: 67.39 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3764, allocations: 4 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3764, allocations: 8 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.3765, allocations: 47.86 kB / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.3766, allocations: 20.45 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/0.377, allocations: 91.61 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.3771, allocations: 28 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.0001805/0.3773, allocations: 186.9 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.3773, allocations: 27.72 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.3774, allocations: 26.3 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3774, allocations: 4 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.3774, allocations: 3.938 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3774, allocations: 0 / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.3788, allocations: 1.013 MB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3788, allocations: 4 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.3789, allocations: 19.92 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3789, allocations: 7.938 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.3789, allocations: 20.03 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3789, allocations: 4 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3789, allocations: 0 / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007416/0.3797, allocations: 0.6165 MB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.3797, allocations: 100.7 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.46e-05/0.3798, allocations: 27.98 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.38, allocations: 31.95 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.3801, allocations: 35.94 kB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.3801, allocations: 35.97 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.96e-05/0.3802, allocations: 104.7 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3802, allocations: 0 / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003993/0.3806, allocations: 99.97 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,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) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002371/0.3809, allocations: 166.2 kB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008462/0.3817, allocations: 0.556 MB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3817, allocations: 0 / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.3821, allocations: 300 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3825, allocations: 48.45 kB / 1.081 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007879/0.3833, allocations: 452.8 kB / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3836, allocations: 0.7332 MB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.264e-05/0.3837, allocations: 34.95 kB / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.3837, allocations: 31.44 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3837, allocations: 4 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.007914/0.3917, allocations: 4.293 MB / 1.087 GB, free: 6.848 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1)