Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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.00145/0.00145, 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.001763/0.001763, allocations: 194.4 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.602/1.602, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.112/3.112, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.45 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3556, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002409/0.3581, allocations: 0.7363 MB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3601, allocations: 1.266 MB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.132e-05/0.3602, allocations: 0 / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.443e-05/0.3603, allocations: 7.875 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.051e-05/0.3604, allocations: 19.84 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3614, allocations: 242.3 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000373/0.3618, allocations: 271.5 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3619, allocations: 20.2 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.3622, allocations: 95.86 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.3623, allocations: 87.75 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.429e-05/0.3624, allocations: 24 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3625, allocations: 35.94 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.3626, allocations: 39.89 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.3628, allocations: 87.73 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.3631, allocations: 223.6 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3631, allocations: 4 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3631, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.3632, allocations: 0 / 1.071 GB, free: 7.266 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008799/0.364, allocations: 494.6 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3641, allocations: 12.02 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.148e-05/0.3642, allocations: 24.75 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.3649, allocations: 244.4 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.3649, allocations: 16.36 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.365, allocations: 20.31 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3652, allocations: 137.7 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3653, allocations: 3.938 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.3653, allocations: 7.984 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3653, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.3654, allocations: 63.89 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.3663, allocations: 0.5124 MB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.3666, allocations: 153.2 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.3667, allocations: 65.69 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.3667, allocations: 4 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/0.3672, allocations: 217.9 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 3.687e-06/0.3673, allocations: 3.984 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0006523/0.3679, allocations: 313.3 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.368, allocations: 93.05 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.3683, allocations: 129.6 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.3683, allocations: 45.69 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.3684, allocations: 92.61 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.3684, allocations: 51.41 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.3686, allocations: 73.67 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002557/0.3689, allocations: 330.8 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.369, allocations: 88.23 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.3693, allocations: 152.7 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.3696, allocations: 246.9 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3696, allocations: 0 / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005937/0.3702, allocations: 352.8 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/0.3703, allocations: 67.39 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3703, allocations: 7.938 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3703, allocations: 4 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.269e-05/0.3704, allocations: 12 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.3704, allocations: 15.86 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.3708, allocations: 68.25 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.3709, allocations: 19.98 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001556/0.371, allocations: 144 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.3711, allocations: 19.8 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.3711, allocations: 16.44 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3711, allocations: 4 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3711, allocations: 3.938 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3711, allocations: 0 / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007686/0.3719, allocations: 0.6178 MB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3719, allocations: 0 / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.372, allocations: 11.94 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.372, allocations: 3.938 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.372, allocations: 7.984 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.372, allocations: 0 / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.372, allocations: 4 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.3726, allocations: 429 kB / 1.076 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/0.3726, allocations: 88.95 kB / 1.077 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.3727, allocations: 15.92 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3728, allocations: 7.984 kB / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.3729, allocations: 23.97 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.3729, allocations: 19.92 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.326e-05/0.373, allocations: 95.27 kB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.11e-07/0.373, allocations: 4 kB / 1.077 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003633/0.3734, allocations: 52 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002046/0.3736, allocations: 125.6 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005323/0.3741, allocations: 350.6 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3741, allocations: 448 / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.3743, allocations: 115.9 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.3748, allocations: 40.36 kB / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006142/0.3754, allocations: 272.3 kB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.3759, allocations: 0.7047 MB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.961e-05/0.376, allocations: 17.55 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.3761, allocations: 27.42 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.3761, allocations: 0 / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of Templates: time 0.006662/0.3827, allocations: 2.677 MB / 1.081 GB, free: 12.81 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)