Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.41/2.41, allocations: 285 MB / 292.5 MB, free: 10.53 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.001456/0.001456, allocations: 196.8 kB / 360.7 MB, free: 7.25 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 1.887/1.887, allocations: 205.3 MB / 0.6192 GB, free: 12.14 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.00108/0.00108, allocations: 87.23 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/2.013e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7933/0.7934, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/1.033, allocations: 137.8 MB / 1.098 GB, free: 2.664 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005191/1.033, allocations: 87.94 kB / 1.098 GB, free: 2.578 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01232/1.046, allocations: 1.754 MB / 1.1 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.365e-06/1.046, allocations: 0 / 1.1 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.426e-05/1.046, allocations: 5.188 kB / 1.1 GB, free: 0.8672 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.001351/1.047, allocations: 427.6 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/1.047, allocations: 8.031 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/1.047, allocations: 19.77 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/1.048, allocations: 172.5 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/1.048, allocations: 7.75 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/1.048, allocations: 10.84 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002682/1.048, allocations: 44 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/1.048, allocations: 73.61 kB / 1.101 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/1.048, allocations: 0 / 1.101 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/1.048, allocations: 0 / 1.101 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/1.048, allocations: 3.953 kB / 1.101 GB, free: 36 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/1.05, allocations: 391.3 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/1.05, allocations: 46.58 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/1.05, allocations: 20.98 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/1.05, allocations: 4 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/1.05, allocations: 34.56 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 3.467e-06/1.05, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.000365/1.051, allocations: 61.59 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/1.051, allocations: 55.41 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/1.051, allocations: 123.4 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/1.051, allocations: 29.64 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/1.051, allocations: 108.1 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/1.051, allocations: 15.8 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/1.051, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001827/1.052, allocations: 318.8 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/1.052, allocations: 19.98 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.683e-05/1.052, allocations: 22.11 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.015e-05/1.052, allocations: 12 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/1.052, allocations: 3.953 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002932/1.052, allocations: 77.58 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/1.052, allocations: 4.219 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/1.052, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/1.052, allocations: 3.938 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/1.053, allocations: 15.98 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.053, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/1.053, allocations: 32.72 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/1.053, allocations: 7.938 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001253/1.053, allocations: 104.8 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/1.053, allocations: 11.86 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.263e-05/1.053, allocations: 20.39 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.053, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.053, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.053, allocations: 2.672 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/1.054, allocations: 170.7 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.054, allocations: 2.156 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/1.054, allocations: 11.98 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/1.054, allocations: 3.953 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/1.054, allocations: 2.938 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.054, allocations: 4 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/1.054, allocations: 4 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/1.054, allocations: 159.4 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/1.054, allocations: 93 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/1.054, allocations: 3.953 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/1.055, allocations: 34.53 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.055, allocations: 11.97 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/1.055, allocations: 8 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000117/1.055, allocations: 100.6 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.51e-07/1.055, allocations: 0 / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004935/1.056, allocations: 15.94 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000172/1.056, allocations: 103.2 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002271/1.056, allocations: 42.73 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.056, allocations: 0 / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/1.056, allocations: 27.92 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/1.057, allocations: 8 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/1.057, allocations: 114.4 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/1.058, allocations: 0.705 MB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001167/1.058, allocations: 9.422 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/1.058, allocations: 7.438 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of SimCode: time 8.81e-07/1.058, allocations: 0 / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of Templates: time 0.005474/1.063, allocations: 0.9369 MB / 1.105 GB, free: 11.78 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)