Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.139/2.139, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.00149, allocations: 167 kB / 325.6 MB, free: 2.82 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.449/2.449, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001119/0.001119, allocations: 98.33 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006361/0.0006361, allocations: 13.06 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2091, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2222/0.4314, allocations: 132.4 MB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.4317, allocations: 83.94 kB / 1.028 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008712/0.4405, allocations: 1.814 MB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4405, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.4405, allocations: 4 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001016/0.4415, allocations: 443 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4416, allocations: 8.031 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.4417, allocations: 27.7 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.4419, allocations: 167 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.4419, allocations: 8 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.4419, allocations: 4 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.4423, allocations: 97.58 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4423, allocations: 0 / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.4423, allocations: 8 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.4424, allocations: 3.953 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.4427, allocations: 79.89 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.4438, allocations: 416.4 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.4441, allocations: 62.56 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.4441, allocations: 0 / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.4441, allocations: 34.56 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 3.266e-06/0.4442, allocations: 3.984 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.000579/0.4447, allocations: 133.6 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.4448, allocations: 51.41 kB / 1.032 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.445, allocations: 139.7 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.445, allocations: 25.7 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.4451, allocations: 104 kB / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.4452, allocations: 23.89 kB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.4452, allocations: 0 / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.4453, allocations: 322.8 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.4455, allocations: 31.98 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.4457, allocations: 39.95 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.4459, allocations: 24 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4459, allocations: 0 / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003894/0.4463, allocations: 105.5 kB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.4463, allocations: 8 kB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4463, allocations: 0 / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4463, allocations: 4 kB / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.4465, allocations: 11.98 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4465, allocations: 0 / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.4468, allocations: 31.97 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.4469, allocations: 11.94 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001257/0.447, allocations: 117.8 kB / 1.032 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.4471, allocations: 7.906 kB / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.4471, allocations: 20.3 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.4471, allocations: 0 / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4471, allocations: 0 / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4472, allocations: 0 / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.4474, allocations: 201.6 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4475, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.4476, allocations: 23.86 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4476, allocations: 0 / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.4476, allocations: 4 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4476, allocations: 0 / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4477, allocations: 0 / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.4481, allocations: 195.3 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.4482, allocations: 88.97 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.4482, allocations: 4 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.4486, allocations: 28.28 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.4487, allocations: 19.97 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.4487, allocations: 4 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001208/0.4488, allocations: 117.3 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4488, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003002/0.4491, allocations: 12 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001368/0.4493, allocations: 103.2 kB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003744/0.4497, allocations: 79.95 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4497, allocations: 0.8594 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.4499, allocations: 31.98 kB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.4501, allocations: 12 kB / 1.033 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.4508, allocations: 238.9 kB / 1.034 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.4511, allocations: 0.7043 MB / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.4512, allocations: 7.984 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.4513, allocations: 7.438 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/0.4513, allocations: 0 / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of Templates: time 0.00475/0.4561, allocations: 1.075 MB / 1.035 GB, free: 5.172 MB / 0.6823 GB