Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.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 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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.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.0008963/0.0008964, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005186/0.005186, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 15.02 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3489, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002048/0.3509, allocations: 1.499 MB / 1.076 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3523, allocations: 0.7832 MB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.402e-05/0.3524, allocations: 4 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.3525, allocations: 11.86 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/0.3526, allocations: 31.77 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008851/0.3535, allocations: 359.9 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.3539, allocations: 395.1 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.3541, allocations: 60.05 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.3542, allocations: 147.6 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.3544, allocations: 123.5 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.3545, allocations: 24 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.455e-05/0.3546, allocations: 35.98 kB / 1.078 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.3546, allocations: 47.81 kB / 1.078 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.3548, allocations: 173.1 kB / 1.078 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.3552, allocations: 363.1 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3552, allocations: 0 / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3552, allocations: 0 / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3552, allocations: 0 / 1.078 GB, free: 3.461 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007958/0.356, allocations: 0.5498 MB / 1.079 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3561, allocations: 11.97 kB / 1.079 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.756e-05/0.3562, allocations: 36.64 kB / 1.079 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008192/0.357, allocations: 309.1 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.3571, allocations: 28.7 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/0.3571, allocations: 44.3 kB / 1.079 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.3575, allocations: 176.7 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3575, allocations: 7.922 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.3575, allocations: 15.98 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3575, allocations: 4 kB / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.3578, allocations: 104.2 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009781/0.3588, allocations: 0.5975 MB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.3591, allocations: 206.4 kB / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.3592, allocations: 88.77 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.3592, allocations: 0 / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/0.3596, allocations: 250.9 kB / 1.08 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/0.3596, allocations: 0 / 1.08 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36): time 0.0007019/0.3604, allocations: 418.9 kB / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3604, allocations: 67.39 kB / 1.081 GB, free: 380 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3606, allocations: 191 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.3607, allocations: 41.7 kB / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3608, allocations: 137.2 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/0.3609, allocations: 86.97 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.401e-05/0.361, allocations: 69.67 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3611, allocations: 334.8 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.3614, allocations: 153 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.3618, allocations: 271.2 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.3624, allocations: 415.1 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3624, allocations: 7.938 kB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009271/0.3633, allocations: 0.5838 MB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-05/0.3634, allocations: 97.09 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3634, allocations: 4 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3634, allocations: 11.98 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.3636, allocations: 39.92 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.3636, allocations: 11.92 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/0.3642, allocations: 136 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.3643, allocations: 31.98 kB / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 (accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer.yAcc,$PRE.accuTimer.yAcc,resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.y,$whenCondition3,pre.y,$PRE.pre.u,$whenCondition9,con.y,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,booPul2.y,$PRE.booPul2.y,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,$whenCondition7,$whenCondition8,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul.y,$PRE.booPul.y,pre.u,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0002022/0.3645, allocations: 179 kB / 1.084 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.3645, allocations: 27.72 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.413e-05/0.3646, allocations: 30.64 kB / 1.084 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3646, allocations: 4 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3646, allocations: 0 / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3646, allocations: 0 / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009074/0.3655, allocations: 0.7088 MB / 1.084 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3656, allocations: 0 / 1.084 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-05/0.3656, allocations: 15.98 kB / 1.084 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3656, allocations: 4 kB / 1.084 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.3657, allocations: 11.98 kB / 1.084 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.3657, allocations: 0 / 1.084 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3657, allocations: 7.938 kB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.3662, allocations: 423 kB / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.3663, allocations: 100.7 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.009e-05/0.3663, allocations: 11.98 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3664, allocations: 11.98 kB / 1.085 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.3665, allocations: 31.95 kB / 1.085 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.3665, allocations: 16 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.667e-05/0.3666, allocations: 125.2 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3666, allocations: 0 / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003969/0.367, allocations: 95.94 kB / 1.085 GB, free: 11.71 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: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,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 (36): * Single equations (assignments): 23 * 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.0001746/0.3672, allocations: 133.3 kB / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007254/0.3679, allocations: 0.534 MB / 1.086 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.368, allocations: 0 / 1.086 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.3682, allocations: 147.7 kB / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3686, allocations: 42.95 kB / 1.086 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007081/0.3693, allocations: 489.3 kB / 1.086 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3696, allocations: 0.7451 MB / 1.087 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.3697, allocations: 34.97 kB / 1.087 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.3698, allocations: 23.44 kB / 1.087 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3698, allocations: 0 / 1.087 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of Templates: time 0.007432/0.3772, allocations: 3.583 MB / 1.091 GB, free: 5.93 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)