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.001139/0.001139, allocations: 89.89 kB / 15.36 MB, free: 0.7344 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.01147/0.01147, allocations: 169.7 kB / 16.26 MB, free: 6.68 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.821/1.821, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.613/1.613, allocations: 252 MB / 0.5105 GB, free: 4.715 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.0006064/0.0006065, allocations: 16 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6534/0.654, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002087/0.6561, allocations: 1.448 MB / 0.7301 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007021/0.6569, allocations: 371.9 kB / 0.7305 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.6569, allocations: 7.938 kB / 0.7305 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.6571, allocations: 15.86 kB / 0.7305 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.103e-05/0.6572, allocations: 27.77 kB / 0.7306 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.6575, allocations: 91.91 kB / 0.7306 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.6579, allocations: 239.2 kB / 0.7309 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.6581, allocations: 65.28 kB / 0.7309 GB, free: 8.996 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.6582, allocations: 79.77 kB / 0.731 GB, free: 8.918 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.6583, allocations: 79.59 kB / 0.7311 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.6584, allocations: 12 kB / 0.7311 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.602e-05/0.6584, allocations: 8 kB / 0.7311 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.6585, allocations: 47.81 kB / 0.7311 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.6586, allocations: 125.2 kB / 0.7313 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.6589, allocations: 201.2 kB / 0.7315 GB, free: 8.449 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.6589, allocations: 4 kB / 0.7315 GB, free: 8.445 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.847e-06/0.6589, allocations: 0 / 0.7315 GB, free: 8.445 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.6589, allocations: 4 kB / 0.7315 GB, free: 8.441 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.0009558/0.6599, allocations: 481.8 kB / 0.7319 GB, free: 7.918 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.6599, allocations: 8.031 kB / 0.7319 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.033e-05/0.66, allocations: 24.75 kB / 0.732 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.6606, allocations: 284 kB / 0.7322 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.6606, allocations: 24.69 kB / 0.7322 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.6607, allocations: 24.31 kB / 0.7323 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.661, allocations: 184.7 kB / 0.7324 GB, free: 7.344 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.6611, allocations: 3.938 kB / 0.7325 GB, free: 7.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.6611, allocations: 11.98 kB / 0.7325 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.6611, allocations: 4 kB / 0.7325 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.6613, allocations: 116.2 kB / 0.7326 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.6624, allocations: 0.5194 MB / 0.7331 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.6628, allocations: 206.5 kB / 0.7333 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.663, allocations: 104.8 kB / 0.7334 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.663, allocations: 4 kB / 0.7334 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000527/0.6635, allocations: 259.2 kB / 0.7336 GB, free: 6.055 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.553e-06/0.6635, allocations: 0 / 0.7336 GB, free: 6.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0007737/0.6643, allocations: 426.2 kB / 0.734 GB, free: 5.633 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.6644, allocations: 67.33 kB / 0.7341 GB, free: 5.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.6646, allocations: 153.7 kB / 0.7343 GB, free: 5.395 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.6646, allocations: 37.7 kB / 0.7343 GB, free: 5.352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.6647, allocations: 120.9 kB / 0.7344 GB, free: 5.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.6648, allocations: 98.78 kB / 0.7345 GB, free: 5.133 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.6649, allocations: 53.69 kB / 0.7345 GB, free: 5.074 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.665, allocations: 334.8 kB / 0.7349 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.6652, allocations: 101 kB / 0.735 GB, free: 4.637 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.6654, allocations: 150.3 kB / 0.7351 GB, free: 4.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.6657, allocations: 223.1 kB / 0.7353 GB, free: 4.246 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6658, allocations: 4 kB / 0.7353 GB, free: 4.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004709/0.6662, allocations: 323.7 kB / 0.7356 GB, free: 3.922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.6663, allocations: 7.938 kB / 0.7356 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.6663, allocations: 4 kB / 0.7356 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.6663, allocations: 3.984 kB / 0.7356 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.6665, allocations: 43.86 kB / 0.7357 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.6665, allocations: 7.984 kB / 0.7357 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.6667, allocations: 35.95 kB / 0.7357 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.6667, allocations: 16 kB / 0.7357 GB, free: 3.805 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 (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.0001569/0.6669, allocations: 166.9 kB / 0.7359 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.6669, allocations: 23.75 kB / 0.7359 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.732e-05/0.667, allocations: 25.95 kB / 0.736 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.667, allocations: 4 kB / 0.736 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.667, allocations: 12 kB / 0.736 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.667, allocations: 0 / 0.736 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.668, allocations: 0.7404 MB / 0.7367 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6681, allocations: 0 / 0.7367 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.6681, allocations: 11.94 kB / 0.7367 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.6681, allocations: 7.984 kB / 0.7367 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.6682, allocations: 12 kB / 0.7367 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.6682, allocations: 3.984 kB / 0.7367 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6682, allocations: 0 / 0.7367 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.6688, allocations: 431 kB / 0.7371 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.669, allocations: 104.8 kB / 0.7372 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.669, allocations: 11.94 kB / 0.7372 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.6692, allocations: 31.97 kB / 0.7373 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.6693, allocations: 39.92 kB / 0.7373 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.6693, allocations: 15.98 kB / 0.7373 GB, free: 2.078 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.074e-05/0.6694, allocations: 110 kB / 0.7374 GB, free: 1.973 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6694, allocations: 0 / 0.7374 GB, free: 1.973 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002924/0.6697, allocations: 75.89 kB / 0.7375 GB, free: 1.898 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 (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.0001931/0.6699, allocations: 133.1 kB / 0.7376 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000447/0.6704, allocations: 270.3 kB / 0.7379 GB, free: 1.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6704, allocations: 0 / 0.7379 GB, free: 1.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.6706, allocations: 163.8 kB / 0.738 GB, free: 1.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.671, allocations: 47.84 kB / 0.7381 GB, free: 1.293 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008183/0.6719, allocations: 472.2 kB / 0.7385 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.6723, allocations: 0.7377 MB / 0.7393 GB, free: 44 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000121/0.6724, allocations: 30.97 kB / 0.7393 GB, free: 16 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.162e-05/0.6725, allocations: 31.47 kB / 0.7393 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.6725, allocations: 0 / 0.7393 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.005925/0.6785, allocations: 2.323 MB / 0.7416 GB, free: 13.67 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: