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.637/2.637, allocations: 253.2 MB / 260.6 MB, free: 7.434 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.002095/0.002095, allocations: 182.8 kB / 319.9 MB, free: 3.035 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.6 MB / 0.5708 GB, free: 15.24 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.00117/0.00117, allocations: 99.59 kB / 0.6751 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.156e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2632, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9725/1.236, allocations: 132.1 MB / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/1.236, allocations: 71.7 kB / 1.018 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01295/1.249, allocations: 2.254 MB / 1.02 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.765e-06/1.249, allocations: 0 / 1.02 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.24e-05/1.249, allocations: 8 kB / 1.02 GB, free: 3.23 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.001309/1.251, allocations: 474.2 kB / 1.02 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.568e-05/1.251, allocations: 16.02 kB / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/1.251, allocations: 31.75 kB / 1.02 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/1.251, allocations: 221.5 kB / 1.021 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/1.251, allocations: 11.98 kB / 1.021 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/1.252, allocations: 16 kB / 1.021 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004631/1.252, allocations: 101.5 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005865/1.253, allocations: 154.6 kB / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/1.253, allocations: 0 / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/1.253, allocations: 15.88 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/1.253, allocations: 4 kB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/1.255, allocations: 0.5142 MB / 1.021 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/1.255, allocations: 199.8 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/1.256, allocations: 90.45 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/1.256, allocations: 4 kB / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007531/1.256, allocations: 248.8 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 3.908e-06/1.256, allocations: 0 / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.00106/1.258, allocations: 296.2 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/1.258, allocations: 63.09 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/1.258, allocations: 140.5 kB / 1.022 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/1.258, allocations: 33.27 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.258, allocations: 116.1 kB / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/1.258, allocations: 81.39 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/1.258, allocations: 0 / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001883/1.258, allocations: 341.5 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/1.259, allocations: 81.25 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/1.259, allocations: 135.8 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/1.26, allocations: 81.66 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.26, allocations: 0 / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009339/1.261, allocations: 281.9 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/1.261, allocations: 8 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.261, allocations: 0 / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/1.261, allocations: 4 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/1.261, allocations: 47.42 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/1.261, allocations: 4 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/1.262, allocations: 31.81 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/1.262, allocations: 15.19 kB / 1.024 GB, free: 15.82 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.0002388/1.262, allocations: 143.3 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/1.262, allocations: 31.7 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.177e-05/1.262, allocations: 18.19 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.262, allocations: 4 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.262, allocations: 4 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/1.262, allocations: 3.984 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/1.264, allocations: 0.6703 MB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.264, allocations: 4 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/1.264, allocations: 19.67 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/1.264, allocations: 0 / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/1.265, allocations: 7.984 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.534e-05/1.265, allocations: 3.984 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.265, allocations: 3.938 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/1.266, allocations: 408.2 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/1.266, allocations: 100.8 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/1.266, allocations: 10.42 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/1.266, allocations: 27.03 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/1.267, allocations: 42.91 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/1.267, allocations: 22.55 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001409/1.267, allocations: 101.9 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.91e-07/1.267, allocations: 4 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007154/1.268, allocations: 59.3 kB / 1.025 GB, free: 14.29 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.0002713/1.268, allocations: 119.1 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008713/1.269, allocations: 245.7 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.269, allocations: 3.938 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004807/1.269, allocations: 144.8 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/1.27, allocations: 27.34 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/1.271, allocations: 286.7 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/1.271, allocations: 0.7452 MB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002373/1.272, allocations: 27.28 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/1.272, allocations: 27.42 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.272, allocations: 0 / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of Templates: time 0.01078/1.283, allocations: 2.256 MB / 1.029 GB, free: 10.54 MB / 0.6511 GB