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.569/1.569, allocations: 285.4 MB / 298 MB, free: 5.996 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.00152/0.001521, allocations: 180.8 kB / 366.4 MB, free: 2.094 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.878/1.878, allocations: 205.1 MB / 0.6248 GB, free: 7.738 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 91.78 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.454e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7815/0.7816, allocations: 115.3 MB / 0.9709 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/0.9719, allocations: 138.6 MB / 1.106 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.9722, allocations: 63.97 kB / 1.106 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01024/0.9824, allocations: 3.273 MB / 1.109 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9825, allocations: 0 / 1.109 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.9825, allocations: 4.656 kB / 1.109 GB, free: 9.93 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.0007495/0.9833, allocations: 430.8 kB / 1.11 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.9834, allocations: 8.031 kB / 1.11 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.9835, allocations: 16.69 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.9837, allocations: 178.9 kB / 1.11 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.9837, allocations: 14.02 kB / 1.11 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.9838, allocations: 12 kB / 1.11 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.984, allocations: 85.55 kB / 1.11 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.984, allocations: 0 / 1.11 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.9841, allocations: 0 / 1.11 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.9841, allocations: 6.375 kB / 1.11 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.441e-05/0.9842, allocations: 24 kB / 1.11 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.9852, allocations: 443.6 kB / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.296e-05/0.9853, allocations: 30.56 kB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.9854, allocations: 20.98 kB / 1.111 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.9854, allocations: 8 kB / 1.111 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.9856, allocations: 97.23 kB / 1.111 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.9856, allocations: 0 / 1.111 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002649/0.9859, allocations: 93.52 kB / 1.111 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.9859, allocations: 55.41 kB / 1.111 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.9861, allocations: 133.1 kB / 1.111 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.9861, allocations: 33.69 kB / 1.111 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.9862, allocations: 112.3 kB / 1.111 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.9862, allocations: 31.59 kB / 1.111 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.9863, allocations: 4 kB / 1.111 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.9864, allocations: 322.8 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.9865, allocations: 40 kB / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.9867, allocations: 124.2 kB / 1.112 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.9868, allocations: 81.61 kB / 1.112 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.9869, allocations: 4 kB / 1.112 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004071/0.9873, allocations: 223 kB / 1.112 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/0.9873, allocations: 42 kB / 1.112 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.9873, allocations: 4 kB / 1.112 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.9874, allocations: 4 kB / 1.112 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.9875, allocations: 31.91 kB / 1.112 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.9875, allocations: 5.312 kB / 1.112 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.9878, allocations: 55.88 kB / 1.112 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.9878, allocations: 11.98 kB / 1.112 GB, free: 6.938 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 9.746e-05/0.988, allocations: 117.4 kB / 1.112 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.988, allocations: 11.91 kB / 1.112 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.988, allocations: 20.56 kB / 1.112 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.988, allocations: 4 kB / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.9881, allocations: 0 / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.9881, allocations: 3 kB / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.9885, allocations: 388.3 kB / 1.113 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9886, allocations: 0 / 1.113 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.9887, allocations: 23.94 kB / 1.113 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.9887, allocations: 4 kB / 1.113 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.9887, allocations: 0 / 1.113 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.9887, allocations: 0 / 1.113 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9887, allocations: 0 / 1.113 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.989, allocations: 223.4 kB / 1.113 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.989, allocations: 88.92 kB / 1.113 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.9891, allocations: 7.891 kB / 1.113 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.9892, allocations: 12.03 kB / 1.113 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.9892, allocations: 15.92 kB / 1.113 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.9893, allocations: 1.875 kB / 1.113 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.153e-05/0.9893, allocations: 118.1 kB / 1.113 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9893, allocations: 0 / 1.113 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003071/0.9897, allocations: 39.98 kB / 1.113 GB, free: 5.793 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.0002228/0.9899, allocations: 119.2 kB / 1.113 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.9902, allocations: 163.3 kB / 1.113 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9902, allocations: 0.6875 kB / 1.113 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.421e-05/0.9903, allocations: 35.92 kB / 1.113 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.9905, allocations: 23.27 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.991, allocations: 184.9 kB / 1.114 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.9913, allocations: 0.7082 MB / 1.114 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.385e-05/0.9914, allocations: 12.56 kB / 1.114 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.9914, allocations: 11.44 kB / 1.114 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.9914, allocations: 3.938 kB / 1.114 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of Templates: time 0.005003/0.9964, allocations: 1.583 MB / 1.116 GB, free: 2.957 MB / 0.7136 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)