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.85/2.85, allocations: 285 MB / 292.5 MB, free: 10.56 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.00151/0.001509, allocations: 180.3 kB / 360.7 MB, free: 7.227 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.211/2.211, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001102, allocations: 96.03 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.779e-05, allocations: 8 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8435/0.8435, allocations: 115.2 MB / 0.9635 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3038/1.147, allocations: 137.7 MB / 1.098 GB, free: 2.727 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.148, allocations: 71.97 kB / 1.098 GB, free: 2.656 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01541/1.163, allocations: 3.257 MB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/1.163, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.276e-05/1.163, allocations: 4.625 kB / 1.101 GB, free: 15.46 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.0007114/1.164, allocations: 427.6 kB / 1.102 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/1.164, allocations: 10 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/1.164, allocations: 17.02 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/1.164, allocations: 184.2 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/1.164, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/1.164, allocations: 12.78 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001237/1.164, allocations: 27.94 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/1.165, allocations: 78.25 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.165, allocations: 0 / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/1.165, allocations: 0 / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/1.165, allocations: 4 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/1.166, allocations: 395.2 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.65e-05/1.166, allocations: 35.59 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/1.166, allocations: 16.98 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/1.166, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/1.166, allocations: 87.33 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.953e-06/1.166, allocations: 0 / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002981/1.167, allocations: 88.16 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.996e-05/1.167, allocations: 59.41 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/1.167, allocations: 126.6 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/1.167, allocations: 29.7 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.336e-05/1.167, allocations: 105.4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/1.167, allocations: 31.55 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/1.167, allocations: 4 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.167, allocations: 322.8 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/1.167, allocations: 36 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/1.168, allocations: 118.2 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/1.168, allocations: 67.94 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/1.168, allocations: 0 / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008298/1.169, allocations: 202.7 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.501e-05/1.169, allocations: 41.69 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.169, allocations: 4 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.169, allocations: 4 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/1.169, allocations: 23.98 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/1.169, allocations: 3.938 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/1.17, allocations: 60.14 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/1.17, allocations: 12 kB / 1.104 GB, free: 12.64 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.0001223/1.17, allocations: 112.8 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/1.17, allocations: 19.91 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/1.17, allocations: 12.61 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.17, allocations: 3.562 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/1.17, allocations: 4 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.17, allocations: 0 / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/1.171, allocations: 354.4 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.171, allocations: 0 / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/1.171, allocations: 19.94 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/1.171, allocations: 8 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/1.171, allocations: 3.984 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.171, allocations: 0 / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.171, allocations: 0 / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/1.172, allocations: 211.3 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/1.172, allocations: 88.95 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/1.172, allocations: 3.953 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/1.172, allocations: 16.03 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/1.172, allocations: 11.98 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/1.172, allocations: 7.938 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.332e-05/1.172, allocations: 101.3 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.172, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004486/1.172, allocations: 32 kB / 1.105 GB, free: 11.58 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.0002454/1.173, allocations: 115.1 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004407/1.173, allocations: 159.3 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.173, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/1.173, allocations: 33.2 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/1.174, allocations: 15.98 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/1.174, allocations: 183.4 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/1.175, allocations: 0.7157 MB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.635e-05/1.175, allocations: 11.33 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/1.175, allocations: 15.44 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of SimCode: time 8.51e-07/1.175, allocations: 0 / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of Templates: time 0.006021/1.181, allocations: 1.425 MB / 1.107 GB, free: 8.918 MB / 0.7136 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)