Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.366/2.366, allocations: 252.6 MB / 265.2 MB, free: 5.695 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001513, allocations: 181.4 kB / 324.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.4 MB / 0.5754 GB, free: 10.42 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 93.27 kB / 0.6797 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.509e-05, allocations: 7.938 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2069, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9002/1.107, allocations: 131.8 MB / 1.024 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/1.107, allocations: 72.27 kB / 1.024 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009401/1.117, allocations: 2.28 MB / 1.026 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/1.117, allocations: 0 / 1.026 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.681e-05/1.117, allocations: 4 kB / 1.026 GB, free: 0.6797 MB / 0.6355 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.0009437/1.118, allocations: 477.9 kB / 1.026 GB, free: 180 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.118, allocations: 8.031 kB / 1.026 GB, free: 172 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.018e-05/1.118, allocations: 23.77 kB / 1.026 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/1.118, allocations: 229.4 kB / 1.027 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/1.118, allocations: 19.75 kB / 1.027 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/1.119, allocations: 27.17 kB / 1.027 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/1.119, allocations: 171.9 kB / 1.027 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.119, allocations: 7.875 kB / 1.027 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/1.119, allocations: 7.484 kB / 1.027 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/1.119, allocations: 7.953 kB / 1.027 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/1.119, allocations: 117.3 kB / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/1.121, allocations: 0.5489 MB / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/1.121, allocations: 218.5 kB / 1.028 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/1.122, allocations: 98.86 kB / 1.028 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/1.122, allocations: 4 kB / 1.028 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005848/1.122, allocations: 258.7 kB / 1.028 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 2.645e-06/1.122, allocations: 4 kB / 1.028 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.0008373/1.123, allocations: 320.6 kB / 1.028 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/1.123, allocations: 62.91 kB / 1.028 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/1.123, allocations: 153.5 kB / 1.029 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/1.124, allocations: 40.02 kB / 1.029 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/1.124, allocations: 118.4 kB / 1.029 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/1.124, allocations: 89.14 kB / 1.029 GB, free: 14 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/1.124, allocations: 7.188 kB / 1.029 GB, free: 14 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.124, allocations: 336.5 kB / 1.029 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/1.124, allocations: 85.94 kB / 1.029 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/1.125, allocations: 147.7 kB / 1.029 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/1.125, allocations: 93.72 kB / 1.029 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.125, allocations: 0 / 1.029 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007209/1.126, allocations: 322.5 kB / 1.03 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.126, allocations: 4 kB / 1.03 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.126, allocations: 0 / 1.03 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/1.126, allocations: 4 kB / 1.03 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/1.126, allocations: 50.98 kB / 1.03 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/1.126, allocations: 4 kB / 1.03 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/1.126, allocations: 46.95 kB / 1.03 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/1.126, allocations: 15.06 kB / 1.03 GB, free: 13.07 MB / 0.6511 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,accuTimer2.u,$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,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete 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.000183/1.127, allocations: 139.5 kB / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/1.127, allocations: 31.7 kB / 1.03 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.175e-05/1.127, allocations: 24.75 kB / 1.03 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.127, allocations: 4 kB / 1.03 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.127, allocations: 3.984 kB / 1.03 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/1.127, allocations: 7.922 kB / 1.03 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/1.128, allocations: 0.7473 MB / 1.031 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.128, allocations: 0 / 1.031 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/1.129, allocations: 19.36 kB / 1.031 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/1.129, allocations: 3.938 kB / 1.031 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/1.129, allocations: 11.86 kB / 1.031 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/1.129, allocations: 4 kB / 1.031 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.129, allocations: 3.953 kB / 1.031 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008341/1.13, allocations: 429.1 kB / 1.031 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/1.13, allocations: 96.86 kB / 1.031 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/1.13, allocations: 15.3 kB / 1.031 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/1.13, allocations: 31.78 kB / 1.031 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.13, allocations: 39.7 kB / 1.031 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/1.13, allocations: 15.17 kB / 1.031 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001133/1.13, allocations: 113.7 kB / 1.032 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.13, allocations: 4 kB / 1.032 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005872/1.131, allocations: 70.42 kB / 1.032 GB, free: 11.45 MB / 0.6511 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 (accuTimer2.u,$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,accuTimer1.reset_internal,accuTimer2.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * 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.000318/1.131, allocations: 127.9 kB / 1.032 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001179/1.133, allocations: 280.1 kB / 1.032 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.133, allocations: 0 / 1.032 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005677/1.133, allocations: 152.1 kB / 1.032 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/1.134, allocations: 31.16 kB / 1.032 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/1.135, allocations: 296.1 kB / 1.032 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/1.136, allocations: 0.7451 MB / 1.033 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002601/1.136, allocations: 26.97 kB / 1.033 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/1.136, allocations: 26.19 kB / 1.033 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of SimCode: time 1.072e-06/1.136, allocations: 4 kB / 1.033 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of Templates: time 0.01311/1.149, allocations: 2.337 MB / 1.036 GB, free: 7.586 MB / 0.6511 GB