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.633/1.633, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.0009806/0.0009807, allocations: 178.2 kB / 372.9 MB, free: 10.14 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.535/1.535, allocations: 205.4 MB / 0.6317 GB, free: 9.867 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.00079/0.0007899, allocations: 100.8 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004578, allocations: 14.72 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2424, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8043/1.047, allocations: 138.7 MB / 1.116 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.047, allocations: 71.86 kB / 1.116 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009026/1.056, allocations: 3.294 MB / 1.119 GB, free: 31.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.886e-06/1.056, allocations: 0 / 1.119 GB, free: 31.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.056, allocations: 0 / 1.119 GB, free: 31.98 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.0006121/1.057, allocations: 452.1 kB / 1.12 GB, free: 31.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.057, allocations: 11.5 kB / 1.12 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/1.057, allocations: 12.53 kB / 1.12 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/1.057, allocations: 175.6 kB / 1.12 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/1.057, allocations: 11.88 kB / 1.12 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/1.057, allocations: 15.28 kB / 1.12 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/1.057, allocations: 98.55 kB / 1.12 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.057, allocations: 4.172 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/1.057, allocations: 11.69 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/1.057, allocations: 0 / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/1.058, allocations: 73.58 kB / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000846/1.058, allocations: 438.7 kB / 1.121 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/1.059, allocations: 46.77 kB / 1.121 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.445e-05/1.059, allocations: 29.55 kB / 1.121 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/1.059, allocations: 7.844 kB / 1.121 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/1.059, allocations: 111.9 kB / 1.121 GB, free: 30.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/1.059, allocations: 0 / 1.121 GB, free: 30.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004375/1.059, allocations: 163.8 kB / 1.121 GB, free: 30.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/1.059, allocations: 54.36 kB / 1.121 GB, free: 30.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/1.06, allocations: 156 kB / 1.121 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/1.06, allocations: 28.95 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/1.06, allocations: 113.4 kB / 1.121 GB, free: 30.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/1.06, allocations: 28.83 kB / 1.121 GB, free: 30.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/1.06, allocations: 7.312 kB / 1.121 GB, free: 30.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.06, allocations: 317.1 kB / 1.122 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/1.06, allocations: 59.97 kB / 1.122 GB, free: 30.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/1.06, allocations: 139.8 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/1.061, allocations: 213.3 kB / 1.122 GB, free: 30.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.061, allocations: 0 / 1.122 GB, free: 30.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004504/1.061, allocations: 263.1 kB / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/1.061, allocations: 41.58 kB / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.061, allocations: 4.188 kB / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.061, allocations: 7.875 kB / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/1.061, allocations: 26.34 kB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/1.061, allocations: 10.52 kB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/1.062, allocations: 55.14 kB / 1.122 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/1.062, allocations: 14.17 kB / 1.122 GB, free: 29.87 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.0001059/1.062, allocations: 128.5 kB / 1.123 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/1.062, allocations: 10.7 kB / 1.123 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/1.062, allocations: 15.5 kB / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/1.062, allocations: 0 / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.062, allocations: 7.938 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.062, allocations: 6.703 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/1.062, allocations: 422.4 kB / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.062, allocations: 3.938 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/1.062, allocations: 18.27 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.062, allocations: 7.938 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/1.062, allocations: 7.531 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.062, allocations: 3.75 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.062, allocations: 0 / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/1.063, allocations: 265.9 kB / 1.123 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/1.063, allocations: 92.73 kB / 1.123 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/1.063, allocations: 7.219 kB / 1.123 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/1.063, allocations: 15.06 kB / 1.123 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/1.063, allocations: 7.125 kB / 1.123 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/1.063, allocations: 3.844 kB / 1.123 GB, free: 29.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.13e-05/1.063, allocations: 118.3 kB / 1.124 GB, free: 29.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/1.063, allocations: 0 / 1.124 GB, free: 29.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002882/1.064, allocations: 34.72 kB / 1.124 GB, free: 29.08 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.0001992/1.064, allocations: 116.5 kB / 1.124 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004076/1.064, allocations: 212.3 kB / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.064, allocations: 0 / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/1.064, allocations: 44.42 kB / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/1.065, allocations: 23.73 kB / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/1.065, allocations: 297.5 kB / 1.124 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/1.065, allocations: 0.7087 MB / 1.125 GB, free: 28.01 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.95e-05/1.066, allocations: 12.27 kB / 1.125 GB, free: 28.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/1.066, allocations: 18.06 kB / 1.125 GB, free: 28 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/1.066, allocations: 0 / 1.125 GB, free: 28 MB / 0.698 GB Notification: Performance of Templates: time 0.00404/1.07, allocations: 1.605 MB / 1.127 GB, free: 27.87 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)