Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.859/2.859, allocations: 284.8 MB / 297.3 MB, free: 6.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 176.9 kB / 365.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.1 MB / 0.6241 GB, free: 8.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 93.23 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.924e-05/3.931e-05, allocations: 7.984 kB / 0.8575 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.8116, allocations: 115.2 MB / 0.97 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2431/1.055, allocations: 138.4 MB / 1.105 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/1.055, allocations: 67.97 kB / 1.105 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01603/1.071, allocations: 3.276 MB / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/1.071, allocations: 1 kB / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.224e-05/1.071, allocations: 4 kB / 1.108 GB, free: 10.73 MB / 0.7136 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.0007532/1.072, allocations: 438.3 kB / 1.109 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.072, allocations: 8.031 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/1.072, allocations: 17.02 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/1.072, allocations: 184.9 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/1.072, allocations: 4 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/1.072, allocations: 12 kB / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/1.073, allocations: 83.16 kB / 1.109 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.073, allocations: 0 / 1.109 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/1.073, allocations: 4.656 kB / 1.109 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/1.073, allocations: 5.625 kB / 1.109 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/1.073, allocations: 29.88 kB / 1.109 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/1.074, allocations: 440.4 kB / 1.11 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/1.074, allocations: 26.58 kB / 1.11 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/1.074, allocations: 23.94 kB / 1.11 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/1.074, allocations: 8 kB / 1.11 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/1.075, allocations: 95.22 kB / 1.11 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 3.046e-06/1.075, allocations: 0 / 1.11 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003211/1.075, allocations: 89.58 kB / 1.11 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/1.075, allocations: 59.34 kB / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/1.075, allocations: 129.7 kB / 1.11 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/1.075, allocations: 33.69 kB / 1.11 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/1.075, allocations: 104.3 kB / 1.11 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/1.075, allocations: 35.55 kB / 1.11 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/1.076, allocations: 0 / 1.11 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.076, allocations: 322.8 kB / 1.11 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/1.076, allocations: 44 kB / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/1.076, allocations: 123.3 kB / 1.111 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/1.076, allocations: 81.61 kB / 1.111 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/1.076, allocations: 4 kB / 1.111 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006084/1.077, allocations: 230.2 kB / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/1.077, allocations: 42.05 kB / 1.111 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.077, allocations: 0 / 1.111 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/1.077, allocations: 4 kB / 1.111 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/1.077, allocations: 31.91 kB / 1.111 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/1.077, allocations: 7.094 kB / 1.111 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/1.078, allocations: 51.88 kB / 1.111 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/1.078, allocations: 15.98 kB / 1.111 GB, free: 7.746 MB / 0.7136 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 () * 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.0001274/1.078, allocations: 116.9 kB / 1.111 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/1.078, allocations: 15.86 kB / 1.111 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/1.078, allocations: 12.61 kB / 1.111 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.078, allocations: 4 kB / 1.111 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.078, allocations: 0 / 1.111 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.078, allocations: 4 kB / 1.111 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/1.079, allocations: 394.3 kB / 1.112 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.079, allocations: 0 / 1.112 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/1.079, allocations: 16.03 kB / 1.112 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/1.079, allocations: 7.984 kB / 1.112 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/1.079, allocations: 4 kB / 1.112 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/1.079, allocations: 0 / 1.112 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.079, allocations: 0 / 1.112 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/1.08, allocations: 219.4 kB / 1.112 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/1.08, allocations: 92.88 kB / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/1.08, allocations: 4.047 kB / 1.112 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/1.08, allocations: 13.2 kB / 1.112 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/1.08, allocations: 3.984 kB / 1.112 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/1.08, allocations: 15.88 kB / 1.112 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001079/1.08, allocations: 114.1 kB / 1.112 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-07/1.08, allocations: 4 kB / 1.112 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004332/1.081, allocations: 39.98 kB / 1.112 GB, free: 6.594 MB / 0.7136 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 () * 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.0002436/1.081, allocations: 118.2 kB / 1.112 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005079/1.081, allocations: 163.9 kB / 1.112 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.081, allocations: 4 kB / 1.112 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/1.082, allocations: 38.06 kB / 1.112 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/1.082, allocations: 15.98 kB / 1.112 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/1.083, allocations: 179.8 kB / 1.113 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/1.083, allocations: 0.7082 MB / 1.113 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.083e-05/1.083, allocations: 8.562 kB / 1.113 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/1.083, allocations: 15.44 kB / 1.113 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/1.083, allocations: 0 / 1.113 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of Templates: time 0.006545/1.09, allocations: 1.58 MB / 1.115 GB, free: 3.773 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)