Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 288.3 MB / 303.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 181.1 kB / 371.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 0.6306 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 88.34 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006577/0.0006579, allocations: 21 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2555, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8636/1.119, allocations: 138.6 MB / 1.115 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.12, allocations: 74.36 kB / 1.115 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01428/1.134, allocations: 3.278 MB / 1.118 GB, free: 31.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.988e-06/1.134, allocations: 0 / 1.118 GB, free: 31.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.755e-05/1.134, allocations: 0 / 1.118 GB, free: 31.83 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.0008679/1.135, allocations: 448.5 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/1.135, allocations: 11.56 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.523e-05/1.135, allocations: 15.56 kB / 1.119 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/1.135, allocations: 177.7 kB / 1.119 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/1.135, allocations: 10.69 kB / 1.119 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/1.135, allocations: 11.19 kB / 1.119 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/1.136, allocations: 93.69 kB / 1.119 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.136, allocations: 4 kB / 1.119 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/1.136, allocations: 7.016 kB / 1.119 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.136, allocations: 3.938 kB / 1.119 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/1.136, allocations: 68.64 kB / 1.119 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/1.137, allocations: 444.8 kB / 1.119 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/1.137, allocations: 46.52 kB / 1.119 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/1.137, allocations: 0 / 1.119 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/1.138, allocations: 108.4 kB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.257e-06/1.138, allocations: 4 kB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006579/1.138, allocations: 163.5 kB / 1.12 GB, free: 30.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/1.139, allocations: 55.34 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/1.139, allocations: 139.5 kB / 1.12 GB, free: 30.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/1.139, allocations: 35.91 kB / 1.12 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/1.139, allocations: 103.1 kB / 1.12 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/1.139, allocations: 30.8 kB / 1.12 GB, free: 30.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/1.139, allocations: 0 / 1.12 GB, free: 30.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.139, allocations: 328.7 kB / 1.12 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/1.139, allocations: 63.84 kB / 1.12 GB, free: 30.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/1.14, allocations: 126.7 kB / 1.12 GB, free: 30.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/1.14, allocations: 115.7 kB / 1.121 GB, free: 29.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.14, allocations: 0 / 1.121 GB, free: 29.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007056/1.141, allocations: 264.4 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/1.141, allocations: 33.33 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.141, allocations: 14.47 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/1.141, allocations: 3.969 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/1.141, allocations: 26.59 kB / 1.121 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/1.141, allocations: 6.766 kB / 1.121 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/1.141, allocations: 56.06 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/1.141, allocations: 7.719 kB / 1.121 GB, free: 29.84 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.0001559/1.142, allocations: 128.2 kB / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/1.142, allocations: 15.88 kB / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/1.142, allocations: 16.34 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/1.142, allocations: 10.64 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.142, allocations: 0 / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/1.142, allocations: 3.938 kB / 1.121 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/1.142, allocations: 418.9 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.143, allocations: 0 / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/1.143, allocations: 17.69 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.143, allocations: 7.766 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/1.143, allocations: 3.875 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.143, allocations: 3.938 kB / 1.122 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.143, allocations: 0 / 1.122 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/1.143, allocations: 274.2 kB / 1.122 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/1.143, allocations: 91.41 kB / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/1.143, allocations: 7.766 kB / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/1.144, allocations: 14.81 kB / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/1.144, allocations: 14.7 kB / 1.122 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/1.144, allocations: 7.031 kB / 1.122 GB, free: 29.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001057/1.144, allocations: 111.1 kB / 1.122 GB, free: 29.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/1.144, allocations: 0 / 1.122 GB, free: 29.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005245/1.144, allocations: 35 kB / 1.122 GB, free: 29.05 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.0002219/1.145, allocations: 115.7 kB / 1.122 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005509/1.145, allocations: 203.2 kB / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.145, allocations: 4.531 kB / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/1.145, allocations: 51.36 kB / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/1.146, allocations: 21.09 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007041/1.146, allocations: 297.7 kB / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/1.147, allocations: 0.7085 MB / 1.123 GB, free: 27.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.163e-05/1.147, allocations: 11.33 kB / 1.123 GB, free: 27.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/1.147, allocations: 19.25 kB / 1.124 GB, free: 27.98 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/1.147, allocations: 0 / 1.124 GB, free: 27.98 MB / 0.698 GB Notification: Performance of Templates: time 0.006202/1.153, allocations: 1.57 MB / 1.125 GB, free: 27.85 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)