Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.466/2.466, allocations: 287.5 MB / 303.2 MB, free: 8.25 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.001311/0.00131, allocations: 186.3 kB / 371.8 MB, free: 10.82 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.978/1.978, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009061/0.0009059, allocations: 91.55 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004623, allocations: 11.78 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2071, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.866/1.073, allocations: 138.6 MB / 1.115 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/1.074, allocations: 94.19 kB / 1.115 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008012/1.082, allocations: 1.765 MB / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/1.082, allocations: 0 / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.074e-05/1.082, allocations: 3.844 kB / 1.116 GB, free: 31.37 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.0009094/1.083, allocations: 438.3 kB / 1.117 GB, free: 30.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.083, allocations: 13.06 kB / 1.117 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/1.083, allocations: 10.06 kB / 1.117 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/1.083, allocations: 192.3 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/1.083, allocations: 6.156 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/1.083, allocations: 9.625 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/1.083, allocations: 94.36 kB / 1.117 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/1.083, allocations: 192 / 1.117 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/1.083, allocations: 5.156 kB / 1.117 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.083, allocations: 5.281 kB / 1.117 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/1.084, allocations: 76.41 kB / 1.117 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009824/1.085, allocations: 408.6 kB / 1.118 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/1.085, allocations: 69.17 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/1.085, allocations: 30.64 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/1.085, allocations: 3.812 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/1.085, allocations: 42.38 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/1.085, allocations: 0 / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0005194/1.086, allocations: 117.2 kB / 1.118 GB, free: 30.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/1.086, allocations: 55.34 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/1.086, allocations: 161.7 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/1.086, allocations: 32.22 kB / 1.118 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/1.086, allocations: 104.4 kB / 1.118 GB, free: 30.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/1.086, allocations: 15.59 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/1.086, allocations: 3.875 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.086, allocations: 324 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/1.086, allocations: 25.69 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/1.086, allocations: 44.14 kB / 1.119 GB, free: 29.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/1.087, allocations: 53.25 kB / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.087, allocations: 3.938 kB / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003573/1.087, allocations: 107.1 kB / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.087, allocations: 3.844 kB / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.087, allocations: 0 / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.087, allocations: 0 / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/1.087, allocations: 10.38 kB / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/1.087, allocations: 6.844 kB / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/1.088, allocations: 36.61 kB / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/1.088, allocations: 6.516 kB / 1.119 GB, free: 29.64 MB / 0.698 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 () * Number of clocked 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.0001156/1.088, allocations: 122.3 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/1.088, allocations: 11.62 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/1.088, allocations: 14.91 kB / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/1.088, allocations: 3.875 kB / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.088, allocations: 6.234 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.088, allocations: 3.984 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/1.088, allocations: 200.3 kB / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/1.088, allocations: 3.844 kB / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/1.088, allocations: 9.828 kB / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/1.088, allocations: 0 / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.088, allocations: 0 / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.088, allocations: 4 kB / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.088, allocations: 3.938 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/1.089, allocations: 194 kB / 1.119 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/1.089, allocations: 84.86 kB / 1.119 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/1.089, allocations: 7.625 kB / 1.119 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/1.089, allocations: 27.69 kB / 1.119 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/1.089, allocations: 24.38 kB / 1.12 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/1.089, allocations: 0 / 1.12 GB, free: 29.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001006/1.089, allocations: 116.6 kB / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.089, allocations: 4 kB / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003049/1.09, allocations: 11.81 kB / 1.12 GB, free: 28.98 MB / 0.698 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) * Number of clocked states: 0 () * 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.0001231/1.09, allocations: 105.1 kB / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003256/1.09, allocations: 75.2 kB / 1.12 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/1.09, allocations: 4 kB / 1.12 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/1.09, allocations: 36.64 kB / 1.12 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/1.091, allocations: 7.719 kB / 1.12 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/1.091, allocations: 231.6 kB / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/1.092, allocations: 0.6959 MB / 1.121 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.887e-05/1.092, allocations: 7.875 kB / 1.121 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/1.092, allocations: 13.67 kB / 1.121 GB, free: 28.01 MB / 0.698 GB Notification: Performance of SimCode: time 7.32e-07/1.092, allocations: 3.938 kB / 1.121 GB, free: 28.01 MB / 0.698 GB Notification: Performance of Templates: time 0.004257/1.096, allocations: 1.072 MB / 1.122 GB, free: 27.93 MB / 0.698 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)