Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.85/2.85, allocations: 252.6 MB / 265.2 MB, free: 5.672 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.002337/0.002337, allocations: 179.9 kB / 324.5 MB, free: 14.41 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.153/2.153, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001565/0.001565, allocations: 89.64 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.263e-05, allocations: 7.984 kB / 0.7912 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.207, allocations: 106.2 MB / 0.8949 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8884/1.095, allocations: 132.1 MB / 1.024 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/1.096, allocations: 67.78 kB / 1.024 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01111/1.107, allocations: 2.742 MB / 1.027 GB, free: 8 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.914e-06/1.107, allocations: 0 / 1.027 GB, free: 8 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.652e-05/1.107, allocations: 8 kB / 1.027 GB, free: 0 / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007919/1.108, allocations: 425.9 kB / 1.027 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.108, allocations: 8.031 kB / 1.027 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/1.108, allocations: 19.81 kB / 1.027 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/1.108, allocations: 212.3 kB / 1.027 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/1.108, allocations: 11.19 kB / 1.027 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/1.108, allocations: 15.25 kB / 1.027 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/1.109, allocations: 134.1 kB / 1.027 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.109, allocations: 0 / 1.027 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/1.109, allocations: 0 / 1.027 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.109, allocations: 4 kB / 1.027 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/1.109, allocations: 57.25 kB / 1.028 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/1.11, allocations: 0.762 MB / 1.028 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/1.111, allocations: 33.39 kB / 1.028 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/1.111, allocations: 22.48 kB / 1.028 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/1.111, allocations: 8.141 kB / 1.028 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002977/1.111, allocations: 105.8 kB / 1.028 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 6.472e-06/1.111, allocations: 3.984 kB / 1.028 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0003395/1.111, allocations: 108.8 kB / 1.029 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.111, allocations: 140.5 kB / 1.029 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/1.112, allocations: 169.8 kB / 1.029 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/1.112, allocations: 29.7 kB / 1.029 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/1.112, allocations: 110.8 kB / 1.029 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/1.112, allocations: 46.31 kB / 1.029 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/1.112, allocations: 3.625 kB / 1.029 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.112, allocations: 329.7 kB / 1.029 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/1.112, allocations: 23.19 kB / 1.029 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/1.112, allocations: 107.1 kB / 1.029 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/1.113, allocations: 41.92 kB / 1.029 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.113, allocations: 4 kB / 1.029 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003798/1.113, allocations: 161 kB / 1.03 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.113, allocations: 4 kB / 1.03 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.113, allocations: 4 kB / 1.03 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/1.113, allocations: 4.406 kB / 1.03 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/1.113, allocations: 35.92 kB / 1.03 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/1.113, allocations: 7.984 kB / 1.03 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/1.114, allocations: 31.16 kB / 1.03 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/1.114, allocations: 4 kB / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001178/1.114, allocations: 124 kB / 1.03 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/1.114, allocations: 15.81 kB / 1.03 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.633e-05/1.114, allocations: 25.27 kB / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.114, allocations: 0 / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.114, allocations: 4 kB / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.114, allocations: 0 / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/1.115, allocations: 493.7 kB / 1.03 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.115, allocations: 4 kB / 1.03 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/1.115, allocations: 19.98 kB / 1.03 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/1.115, allocations: 0 / 1.03 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/1.115, allocations: 15.3 kB / 1.03 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/1.115, allocations: 3.953 kB / 1.03 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.115, allocations: 0 / 1.03 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/1.116, allocations: 362.5 kB / 1.031 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/1.116, allocations: 88.92 kB / 1.031 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/1.116, allocations: 7.812 kB / 1.031 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/1.116, allocations: 24.14 kB / 1.031 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/1.116, allocations: 15.23 kB / 1.031 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/1.116, allocations: 4 kB / 1.031 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001702/1.117, allocations: 134.3 kB / 1.031 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.117, allocations: 0 / 1.031 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000423/1.117, allocations: 22.88 kB / 1.031 GB, free: 11.46 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.000215/1.117, allocations: 122.7 kB / 1.031 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002722/1.118, allocations: 79.09 kB / 1.031 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.118, allocations: 0 / 1.031 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/1.118, allocations: 35.72 kB / 1.031 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/1.118, allocations: 47.56 kB / 1.031 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008817/1.119, allocations: 268 kB / 1.032 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/1.12, allocations: 0.7205 MB / 1.032 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001044/1.12, allocations: 17.2 kB / 1.032 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/1.12, allocations: 15.44 kB / 1.032 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of SimCode: time 9.81e-07/1.12, allocations: 0 / 1.032 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of Templates: time 0.006522/1.126, allocations: 1.431 MB / 1.034 GB, free: 8.754 MB / 0.6511 GB