Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.124/5.124, allocations: 0.5623 GB / 0.5776 GB, free: 3.301 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002509/0.002509, allocations: 356.1 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.069/4.069, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001788/0.001788, allocations: 182.6 kB / 1.226 GB, free: 35.99 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004972, allocations: 17.31 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 115.2 MB / 1.461 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9271/1.138, allocations: 138.2 MB / 1.596 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.139, allocations: 72.58 kB / 1.596 GB, free: 3.508 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.01586/1.154, allocations: 3.373 MB / 1.6 GB, free: 0.5781 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.174e-06/1.154, allocations: 0 / 1.6 GB, free: 0.5781 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.83e-05/1.154, allocations: 0 / 1.6 GB, free: 0.5781 MB / 0.6667 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.000798/1.155, allocations: 479.4 kB / 1.6 GB, free: 64 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.155, allocations: 12.03 kB / 1.6 GB, free: 52 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.053e-05/1.155, allocations: 15.91 kB / 1.6 GB, free: 36 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/1.156, allocations: 180.4 kB / 1.6 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/1.156, allocations: 15.31 kB / 1.6 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/1.156, allocations: 23.17 kB / 1.6 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/1.156, allocations: 131.6 kB / 1.601 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.156, allocations: 4 kB / 1.601 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/1.156, allocations: 7.969 kB / 1.601 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.156, allocations: 0 / 1.601 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/1.156, allocations: 61.14 kB / 1.601 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/1.158, allocations: 0.5562 MB / 1.601 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/1.158, allocations: 160 kB / 1.601 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/1.158, allocations: 72.91 kB / 1.601 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/1.158, allocations: 0 / 1.601 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005024/1.159, allocations: 211.5 kB / 1.602 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 2.134e-06/1.159, allocations: 0 / 1.602 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22): time 0.0009064/1.16, allocations: 326.3 kB / 1.602 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/1.16, allocations: 85.06 kB / 1.602 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/1.16, allocations: 132 kB / 1.602 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.537e-05/1.16, allocations: 40.14 kB / 1.602 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/1.16, allocations: 99.75 kB / 1.602 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.06e-05/1.16, allocations: 57.67 kB / 1.602 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/1.16, allocations: 6.938 kB / 1.602 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.161, allocations: 325.6 kB / 1.603 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/1.161, allocations: 88.23 kB / 1.603 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/1.161, allocations: 160.7 kB / 1.603 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/1.162, allocations: 143.2 kB / 1.603 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.162, allocations: 3.984 kB / 1.603 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009801/1.163, allocations: 369.8 kB / 1.603 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.016e-05/1.163, allocations: 66.83 kB / 1.603 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.163, allocations: 7.938 kB / 1.603 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/1.163, allocations: 4 kB / 1.603 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/1.163, allocations: 19.3 kB / 1.603 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/1.163, allocations: 3.938 kB / 1.603 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007402/1.164, allocations: 95.06 kB / 1.603 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/1.164, allocations: 15.12 kB / 1.603 GB, free: 12.86 MB / 0.6823 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 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002248/1.164, allocations: 150 kB / 1.604 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/1.164, allocations: 12.28 kB / 1.604 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/1.164, allocations: 21.42 kB / 1.604 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.164, allocations: 0 / 1.604 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.164, allocations: 4 kB / 1.604 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/1.164, allocations: 3.938 kB / 1.604 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009949/1.165, allocations: 0.6205 MB / 1.604 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.165, allocations: 0 / 1.604 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.251e-05/1.165, allocations: 11.94 kB / 1.604 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.165, allocations: 0 / 1.604 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/1.165, allocations: 10.8 kB / 1.604 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.165, allocations: 3.938 kB / 1.604 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.165, allocations: 3.953 kB / 1.604 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/1.166, allocations: 431.3 kB / 1.605 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/1.166, allocations: 89.02 kB / 1.605 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/1.166, allocations: 15.73 kB / 1.605 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/1.166, allocations: 11.98 kB / 1.605 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.167, allocations: 27.22 kB / 1.605 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/1.167, allocations: 19.36 kB / 1.605 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.472e-05/1.167, allocations: 92.58 kB / 1.605 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/1.167, allocations: 0 / 1.605 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005638/1.167, allocations: 66.5 kB / 1.605 GB, free: 11.37 MB / 0.6823 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 (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.000243/1.168, allocations: 130.4 kB / 1.605 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008125/1.168, allocations: 357.1 kB / 1.605 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.168, allocations: 0 / 1.605 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/1.169, allocations: 121.4 kB / 1.606 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/1.169, allocations: 28.09 kB / 1.606 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/1.17, allocations: 295.9 kB / 1.606 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/1.17, allocations: 0.7205 MB / 1.607 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.802e-05/1.171, allocations: 9.438 kB / 1.607 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/1.171, allocations: 19.7 kB / 1.607 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/1.171, allocations: 0 / 1.607 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of Templates: time 0.008532/1.179, allocations: 2.508 MB / 1.609 GB, free: 7.305 MB / 0.6823 GB