Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.889/4.889, allocations: 0.5623 GB / 0.5776 GB, free: 3.34 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.00253/0.002529, allocations: 359.4 kB / 0.6447 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.183/4.183, allocations: 410.7 MB / 1.113 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001916/0.001915, allocations: 184.1 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005066, allocations: 16 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7503/0.7508, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2072/0.958, allocations: 138.6 MB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.9584, allocations: 92.69 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.007521/0.9659, allocations: 1.76 MB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.753e-06/0.966, allocations: 0 / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.966, allocations: 4.5 kB / 1.598 GB, free: 143.8 MB / 0.8542 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.0008753/0.9669, allocations: 448.8 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.9669, allocations: 11.62 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.967, allocations: 19.86 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.9671, allocations: 174.9 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.9672, allocations: 9 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.9672, allocations: 4 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.9675, allocations: 101 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.9675, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.9676, allocations: 4 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.9676, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.9679, allocations: 86.44 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000969/0.9689, allocations: 403.8 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.9691, allocations: 70.25 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.9693, allocations: 36.97 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.9693, allocations: 3.984 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.9693, allocations: 31.41 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.943e-06/0.9694, allocations: 0 / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.0005397/0.9699, allocations: 132.7 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.9699, allocations: 55.41 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.9701, allocations: 150.5 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.9701, allocations: 33.7 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.9702, allocations: 105.6 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.9702, allocations: 7.844 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-06/0.9702, allocations: 4 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.9703, allocations: 332.4 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.9705, allocations: 31.98 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.9706, allocations: 32.2 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.9708, allocations: 25.14 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9708, allocations: 7.875 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003346/0.9711, allocations: 107.7 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.9712, allocations: 8.531 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.9712, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.9712, allocations: 5.25 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.9714, allocations: 8 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.9714, allocations: 4.797 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.9717, allocations: 34.06 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.9717, allocations: 0.7188 kB / 1.601 GB, free: 141.2 MB / 0.8542 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 9.824e-05/0.9718, allocations: 127.5 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.9719, allocations: 8.844 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.9719, allocations: 12.31 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.9719, allocations: 2.156 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9719, allocations: 0 / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.972, allocations: 3.984 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.9722, allocations: 197.6 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9722, allocations: 4 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.9723, allocations: 9.078 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.9723, allocations: 4 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.9723, allocations: 0 / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.9724, allocations: 5.453 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9724, allocations: 4.188 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.9727, allocations: 193 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.9728, allocations: 92.95 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.9728, allocations: 0 / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.9732, allocations: 34.31 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.9733, allocations: 15.97 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.9733, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.489e-05/0.9734, allocations: 115.2 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9734, allocations: 0.75 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002956/0.9737, allocations: 16 kB / 1.602 GB, free: 140.3 MB / 0.8542 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.0001076/0.9738, allocations: 100.7 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.9742, allocations: 75.31 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9742, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.9744, allocations: 31.98 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.9748, allocations: 19.02 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.9753, allocations: 233.4 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.9755, allocations: 0.7054 MB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.864e-05/0.9756, allocations: 5.688 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.9756, allocations: 12.12 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/0.9756, allocations: 3.938 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of Templates: time 0.004458/0.9801, allocations: 1.064 MB / 1.604 GB, free: 138.1 MB / 0.8542 GB