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.905/2.905, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001456/0.001456, allocations: 179.7 kB / 371 MB, free: 10.8 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.113/2.113, allocations: 205.4 MB / 0.6297 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 94.86 kB / 0.743 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007533/0.0007536, allocations: 14.22 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.238, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9602/1.198, allocations: 138.5 MB / 1.114 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/1.199, allocations: 74.86 kB / 1.114 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01489/1.213, allocations: 3.28 MB / 1.117 GB, free: 31.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/1.213, allocations: 0 / 1.117 GB, free: 31.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.896e-05/1.214, allocations: 3.812 kB / 1.117 GB, free: 31.25 MB / 0.698 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.0008343/1.214, allocations: 448.5 kB / 1.117 GB, free: 30.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.214, allocations: 7.844 kB / 1.117 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.498e-05/1.214, allocations: 15.44 kB / 1.117 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.215, allocations: 185.6 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/1.215, allocations: 7.531 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/1.215, allocations: 15.34 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/1.215, allocations: 92.94 kB / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.215, allocations: 0 / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/1.215, allocations: 7.875 kB / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/1.215, allocations: 3.938 kB / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/1.216, allocations: 70.31 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/1.217, allocations: 434.4 kB / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/1.217, allocations: 51.75 kB / 1.118 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/1.217, allocations: 11.83 kB / 1.118 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/1.217, allocations: 104.8 kB / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.446e-06/1.217, allocations: 0 / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0007181/1.218, allocations: 158.9 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/1.218, allocations: 58.38 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/1.218, allocations: 148.8 kB / 1.119 GB, free: 29.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/1.218, allocations: 25.7 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/1.219, allocations: 110.3 kB / 1.119 GB, free: 29.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/1.219, allocations: 25.27 kB / 1.119 GB, free: 29.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/1.219, allocations: 7.812 kB / 1.119 GB, free: 29.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.219, allocations: 317.4 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/1.219, allocations: 61.14 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/1.219, allocations: 136.8 kB / 1.119 GB, free: 29.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/1.22, allocations: 103.5 kB / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/1.22, allocations: 0 / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008038/1.221, allocations: 265.1 kB / 1.12 GB, free: 29.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/1.221, allocations: 52.27 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.221, allocations: 0 / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.221, allocations: 3.812 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/1.221, allocations: 25.11 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.221, allocations: 7.812 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/1.221, allocations: 52.02 kB / 1.12 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/1.221, allocations: 18.06 kB / 1.12 GB, free: 29.26 MB / 0.698 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.0001636/1.222, allocations: 122.6 kB / 1.12 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/1.222, allocations: 18.52 kB / 1.12 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/1.222, allocations: 16.39 kB / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.222, allocations: 4 kB / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.222, allocations: 0 / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.222, allocations: 0 / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009027/1.223, allocations: 421.2 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.223, allocations: 7.953 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/1.223, allocations: 14.58 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/1.223, allocations: 3.844 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/1.223, allocations: 10.81 kB / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.223, allocations: 0 / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.223, allocations: 0 / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000677/1.224, allocations: 269.6 kB / 1.121 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/1.224, allocations: 95.48 kB / 1.121 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/1.224, allocations: 7.562 kB / 1.121 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/1.224, allocations: 14.61 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/1.224, allocations: 6.422 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/1.224, allocations: 10.34 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.716e-05/1.224, allocations: 115.9 kB / 1.121 GB, free: 28.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.224, allocations: 0 / 1.121 GB, free: 28.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003934/1.224, allocations: 41.11 kB / 1.121 GB, free: 28.47 MB / 0.698 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.0002088/1.225, allocations: 108.6 kB / 1.121 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005926/1.225, allocations: 210.7 kB / 1.121 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.225, allocations: 0 / 1.121 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/1.225, allocations: 55.66 kB / 1.121 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/1.226, allocations: 14.75 kB / 1.121 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006717/1.226, allocations: 290.4 kB / 1.122 GB, free: 28.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/1.227, allocations: 0.7077 MB / 1.122 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.64e-05/1.227, allocations: 9.797 kB / 1.122 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/1.227, allocations: 19.7 kB / 1.122 GB, free: 27.4 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/1.227, allocations: 4 kB / 1.122 GB, free: 27.39 MB / 0.698 GB Notification: Performance of Templates: time 0.005569/1.232, allocations: 1.573 MB / 1.124 GB, free: 27.26 MB / 0.698 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)