Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.983/4.983, allocations: 0.5623 GB / 0.5775 GB, free: 3.355 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.002487/0.002487, allocations: 352.6 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.23/4.23, allocations: 410.7 MB / 1.113 GB, free: 5.984 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.001872/0.001872, allocations: 180.2 kB / 1.226 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006542/0.0006546, allocations: 16 kB / 1.349 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7293/0.73, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.9275, allocations: 138.5 MB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.9278, allocations: 74.08 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0145/0.9423, allocations: 3.283 MB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9423, allocations: 3.938 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.9424, allocations: 4 kB / 1.6 GB, free: 142.4 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.0006719/0.943, allocations: 451 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.9431, allocations: 11.62 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.9432, allocations: 11.91 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.9433, allocations: 187.8 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.9433, allocations: 4 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.9434, allocations: 12.66 kB / 1.601 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.9437, allocations: 97.8 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.9437, allocations: 0 / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.9438, allocations: 11.94 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.9438, allocations: 5.062 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.9441, allocations: 65.14 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.9453, allocations: 431.8 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.9456, allocations: 48.17 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.9458, allocations: 44.86 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.9458, allocations: 3.984 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003506/0.9462, allocations: 109.6 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 3.487e-06/0.9462, allocations: 0 / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0007186/0.9469, allocations: 164.7 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.947, allocations: 51.41 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.9472, allocations: 157.8 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.9472, allocations: 30.98 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.9473, allocations: 112.5 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.9473, allocations: 23.62 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.9474, allocations: 4.812 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.982e-05/0.9475, allocations: 318.8 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.9477, allocations: 66.3 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.948, allocations: 134.9 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.9484, allocations: 100.9 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.9484, allocations: 0 / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000792/0.9492, allocations: 268.3 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.9492, allocations: 41.69 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.9493, allocations: 4 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.9493, allocations: 4 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.9495, allocations: 28.45 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.9496, allocations: 6.094 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.95, allocations: 54.05 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.95, allocations: 12 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,intDef.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * 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.0001396/0.9502, allocations: 134.8 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.9502, allocations: 15.77 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.9503, allocations: 12.72 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.9503, allocations: 2.469 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.9503, allocations: 3.938 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.9503, allocations: 5.016 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008345/0.9512, allocations: 428 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.9512, allocations: 0.5 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.9514, allocations: 21.02 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.9514, allocations: 1.156 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.9514, allocations: 4 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.9515, allocations: 7.875 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9515, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/0.9521, allocations: 276.6 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.9522, allocations: 92.91 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.9522, allocations: 0 / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.9524, allocations: 13.41 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.9525, allocations: 13.25 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.9525, allocations: 4 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.445e-05/0.9526, allocations: 108.8 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9526, allocations: 0 / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004294/0.953, allocations: 40 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (intDef.trigger,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001983/0.9532, allocations: 112.3 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006471/0.9539, allocations: 203.9 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.9539, allocations: 3.984 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.9541, allocations: 49.05 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.9546, allocations: 27.17 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.9553, allocations: 296.7 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.9554, allocations: 0.7121 MB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.225e-05/0.9555, allocations: 8.547 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.9556, allocations: 16.5 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.9556, allocations: 0 / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005875/0.9615, allocations: 1.578 MB / 1.607 GB, free: 135 MB / 0.8542 GB