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.0009961/0.0009964, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001376/0.001376, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.607/1.607, allocations: 252 MB / 0.5102 GB, free: 4.789 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.0005111/0.0005111, allocations: 19.44 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6451/0.6456, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002478/0.6482, allocations: 1.413 MB / 0.7295 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009478/0.6492, allocations: 375.9 kB / 0.7299 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.6493, allocations: 0 / 0.7299 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.6495, allocations: 19.86 kB / 0.7299 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.942e-05/0.6496, allocations: 31.69 kB / 0.7299 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.65, allocations: 75.91 kB / 0.73 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.6504, allocations: 227.3 kB / 0.7302 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.6506, allocations: 53.3 kB / 0.7303 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.6507, allocations: 75.77 kB / 0.7303 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.6509, allocations: 79.59 kB / 0.7304 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.6509, allocations: 12 kB / 0.7304 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.188e-05/0.651, allocations: 8 kB / 0.7304 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.651, allocations: 35.89 kB / 0.7305 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.6511, allocations: 77.61 kB / 0.7305 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.6513, allocations: 161.5 kB / 0.7307 GB, free: 8.766 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.6514, allocations: 0 / 0.7307 GB, free: 8.766 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6514, allocations: 3.938 kB / 0.7307 GB, free: 8.762 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.6514, allocations: 0 / 0.7307 GB, free: 8.762 MB / 0.545 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.0008871/0.6523, allocations: 489.6 kB / 0.7312 GB, free: 8.234 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6523, allocations: 8.031 kB / 0.7312 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.659e-05/0.6524, allocations: 23.81 kB / 0.7312 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.653, allocations: 271 kB / 0.7315 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.6531, allocations: 24.33 kB / 0.7315 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.6532, allocations: 23.98 kB / 0.7315 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.6535, allocations: 180.2 kB / 0.7317 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.6536, allocations: 0 / 0.7317 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.6536, allocations: 8 kB / 0.7317 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.6536, allocations: 4 kB / 0.7317 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.6539, allocations: 124.1 kB / 0.7318 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.6549, allocations: 0.535 MB / 0.7323 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.6552, allocations: 198.5 kB / 0.7325 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.6554, allocations: 96.83 kB / 0.7326 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.6554, allocations: 3.984 kB / 0.7326 GB, free: 6.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.6559, allocations: 263.2 kB / 0.7329 GB, free: 6.379 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.643e-06/0.6559, allocations: 0 / 0.7329 GB, free: 6.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0007496/0.6566, allocations: 414.3 kB / 0.7333 GB, free: 5.969 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.6567, allocations: 75.25 kB / 0.7333 GB, free: 5.883 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.6569, allocations: 153.7 kB / 0.7335 GB, free: 5.723 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.6569, allocations: 41.69 kB / 0.7335 GB, free: 5.676 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.186e-05/0.657, allocations: 112.9 kB / 0.7336 GB, free: 5.562 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.588e-05/0.6571, allocations: 98.78 kB / 0.7337 GB, free: 5.465 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.6571, allocations: 12 kB / 0.7337 GB, free: 5.453 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6573, allocations: 334.8 kB / 0.734 GB, free: 5.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.6575, allocations: 97.08 kB / 0.7341 GB, free: 5.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.6577, allocations: 146.2 kB / 0.7343 GB, free: 4.867 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.6578, allocations: 96.81 kB / 0.7344 GB, free: 4.773 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.6579, allocations: 4 kB / 0.7344 GB, free: 4.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004394/0.6583, allocations: 319.7 kB / 0.7347 GB, free: 4.449 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.6583, allocations: 4 kB / 0.7347 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6583, allocations: 0 / 0.7347 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.6584, allocations: 4 kB / 0.7347 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.6585, allocations: 39.92 kB / 0.7347 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.6586, allocations: 8.109 kB / 0.7347 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.6587, allocations: 43.81 kB / 0.7348 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.6588, allocations: 19.95 kB / 0.7348 GB, free: 4.332 MB / 0.545 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 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.6589, allocations: 159 kB / 0.7349 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.659, allocations: 27.7 kB / 0.735 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.441e-05/0.659, allocations: 25.97 kB / 0.735 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.659, allocations: 4 kB / 0.735 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.659, allocations: 0 / 0.735 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.6591, allocations: 7.984 kB / 0.735 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.6601, allocations: 0.7364 MB / 0.7357 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6601, allocations: 0 / 0.7357 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.6602, allocations: 27.92 kB / 0.7358 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.6602, allocations: 0 / 0.7358 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.6603, allocations: 11.98 kB / 0.7358 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6603, allocations: 0 / 0.7358 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6603, allocations: 0 / 0.7358 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.6609, allocations: 435 kB / 0.7362 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.661, allocations: 96.86 kB / 0.7363 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.6611, allocations: 11.98 kB / 0.7363 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.6612, allocations: 31.97 kB / 0.7363 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.6614, allocations: 39.94 kB / 0.7364 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.6614, allocations: 19.98 kB / 0.7364 GB, free: 2.613 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001111/0.6615, allocations: 113.6 kB / 0.7365 GB, free: 2.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6615, allocations: 0 / 0.7365 GB, free: 2.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000308/0.6618, allocations: 63.91 kB / 0.7365 GB, free: 2.441 MB / 0.545 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 (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.0002087/0.662, allocations: 132.4 kB / 0.7367 GB, free: 2.305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004693/0.6625, allocations: 278.9 kB / 0.7369 GB, free: 2.035 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6625, allocations: 0 / 0.7369 GB, free: 2.035 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.6628, allocations: 159.8 kB / 0.7371 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.6631, allocations: 40.22 kB / 0.7371 GB, free: 1.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007846/0.6639, allocations: 452.8 kB / 0.7376 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.6643, allocations: 0.7377 MB / 0.7383 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001203/0.6645, allocations: 26.97 kB / 0.7383 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.6646, allocations: 39.42 kB / 0.7383 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.6646, allocations: 3.938 kB / 0.7383 GB, free: 0.543 MB / 0.545 GB Notification: Performance of Templates: time 0.00581/0.6704, allocations: 2.24 MB / 0.7405 GB, free: 14.32 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: