Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 289.9 MB / 297.4 MB, free: 6.422 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.0009877/0.0009877, allocations: 184.8 kB / 366.7 MB, free: 1.684 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.66/1.66, allocations: 205.3 MB / 0.626 GB, free: 7.16 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.0009087/0.0009086, allocations: 81.44 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.51e-05, allocations: 8 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7327, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2103/0.9431, allocations: 138.9 MB / 1.109 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.9434, allocations: 71.09 kB / 1.109 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009931/0.9533, allocations: 3.265 MB / 1.112 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9534, allocations: 0 / 1.112 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.9534, allocations: 3.5 kB / 1.112 GB, free: 8.059 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.0006655/0.9541, allocations: 420 kB / 1.113 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.9542, allocations: 12.03 kB / 1.113 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.665e-05/0.9543, allocations: 15.81 kB / 1.113 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.9544, allocations: 186.8 kB / 1.113 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.9545, allocations: 5.438 kB / 1.113 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.9545, allocations: 8 kB / 1.113 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.483e-05/0.9546, allocations: 27.94 kB / 1.113 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.9548, allocations: 71.5 kB / 1.113 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.9548, allocations: 0.5625 kB / 1.113 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.9548, allocations: 0.75 kB / 1.113 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.9548, allocations: 4 kB / 1.113 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000943/0.9558, allocations: 402.8 kB / 1.113 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.693e-05/0.9558, allocations: 26.58 kB / 1.113 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.9559, allocations: 12.98 kB / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.9559, allocations: 4 kB / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.9561, allocations: 97.98 kB / 1.113 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/0.9561, allocations: 0 / 1.113 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002424/0.9564, allocations: 81.53 kB / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.9564, allocations: 51.41 kB / 1.114 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.9565, allocations: 131.3 kB / 1.114 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.9566, allocations: 29.7 kB / 1.114 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.9567, allocations: 113.3 kB / 1.114 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.9567, allocations: 31.61 kB / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.9567, allocations: 4 kB / 1.114 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.9569, allocations: 318.8 kB / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.957, allocations: 36 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.9571, allocations: 115.4 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.9574, allocations: 67.88 kB / 1.114 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.9575, allocations: 4 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004979/0.958, allocations: 195.8 kB / 1.115 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.958, allocations: 41.98 kB / 1.115 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.958, allocations: 4 kB / 1.115 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.958, allocations: 4 kB / 1.115 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.9582, allocations: 31.92 kB / 1.115 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.9582, allocations: 5.406 kB / 1.115 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.9585, allocations: 55.8 kB / 1.115 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.9585, allocations: 12 kB / 1.115 GB, free: 5.246 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.0001006/0.9586, allocations: 116.9 kB / 1.115 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.9586, allocations: 7.906 kB / 1.115 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.9587, allocations: 16.58 kB / 1.115 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.9587, allocations: 0 / 1.115 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9587, allocations: 0 / 1.115 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.9587, allocations: 4.031 kB / 1.115 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.9591, allocations: 352.9 kB / 1.115 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.9591, allocations: 0 / 1.115 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.9593, allocations: 15.98 kB / 1.115 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.9593, allocations: 3.953 kB / 1.115 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.9593, allocations: 7.984 kB / 1.115 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9593, allocations: 3.938 kB / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.9593, allocations: 0 / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.9596, allocations: 219.3 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.9596, allocations: 89.95 kB / 1.115 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.9597, allocations: 3.953 kB / 1.115 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.817e-05/0.9598, allocations: 8.031 kB / 1.115 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.9598, allocations: 11.92 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.9598, allocations: 6.719 kB / 1.115 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.316e-05/0.9599, allocations: 101.7 kB / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9599, allocations: 4 kB / 1.116 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002978/0.9602, allocations: 40 kB / 1.116 GB, free: 4.172 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.0002046/0.9604, allocations: 119.2 kB / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002647/0.9607, allocations: 155.3 kB / 1.116 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9607, allocations: 0 / 1.116 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.41e-05/0.9608, allocations: 32.62 kB / 1.116 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.961, allocations: 18.95 kB / 1.116 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.9615, allocations: 180.9 kB / 1.116 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.9618, allocations: 0.7087 MB / 1.117 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.052e-05/0.9618, allocations: 12.42 kB / 1.117 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.9619, allocations: 15.44 kB / 1.117 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.9619, allocations: 0 / 1.117 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of Templates: time 0.00418/0.9661, allocations: 1.423 MB / 1.118 GB, free: 1.516 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)