Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.705/1.705, allocations: 287.5 MB / 302.6 MB, free: 8.207 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.0009839/0.0009842, allocations: 185 kB / 371.2 MB, free: 10.81 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.712/1.712, allocations: 205.4 MB / 0.6298 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.0007279/0.0007279, allocations: 92.47 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 11.45 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2069, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.0008449/0.2078, allocations: 0.5092 MB / 0.9792 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2089, allocations: 1.134 MB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.209, allocations: 0 / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.209, allocations: 3.938 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.2091, allocations: 11.92 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.2095, allocations: 118.8 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.2096, allocations: 119.7 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2097, allocations: 35.97 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.227e-05/0.2098, allocations: 47.83 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.978e-05/0.2099, allocations: 47.77 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.2099, allocations: 4 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.483e-05/0.21, allocations: 15.98 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.21, allocations: 11.98 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.21, allocations: 41.64 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2102, allocations: 112 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2102, allocations: 0 / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2102, allocations: 0 / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2102, allocations: 0 / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004544/0.2106, allocations: 409 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.2107, allocations: 12.03 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.2107, allocations: 12.84 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.558e-05/0.2108, allocations: 184.1 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2108, allocations: 8.375 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.2109, allocations: 8.375 kB / 0.9814 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.2111, allocations: 91.47 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2111, allocations: 8.109 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2111, allocations: 3.938 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2111, allocations: 8 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.2113, allocations: 63.95 kB / 0.9816 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.2117, allocations: 388.5 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.2119, allocations: 58.55 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.212, allocations: 32.94 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.212, allocations: 3.938 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.2122, allocations: 87.36 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2122, allocations: 0 / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003563/0.2126, allocations: 145.5 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.2126, allocations: 51.41 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.2127, allocations: 137.7 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.2127, allocations: 33.64 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.2127, allocations: 99.95 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.2127, allocations: 15.88 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.2128, allocations: 4 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.2128, allocations: 314.8 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.213, allocations: 55.95 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.2131, allocations: 83.41 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.2133, allocations: 136.2 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2133, allocations: 0 / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00034/0.2137, allocations: 199.3 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.2137, allocations: 41.62 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2137, allocations: 0 / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2137, allocations: 7.984 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.2138, allocations: 15.98 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2138, allocations: 0 / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.2141, allocations: 59.83 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.2141, allocations: 8 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 6.861e-05/0.2142, allocations: 121.8 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.2142, allocations: 7.906 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.2142, allocations: 16.31 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2142, allocations: 0 / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2142, allocations: 3.938 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2143, allocations: 3.938 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.579e-05/0.2144, allocations: 193.6 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2144, allocations: 320 / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.2144, allocations: 11.98 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2144, allocations: 0 / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2144, allocations: 8 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2145, allocations: 4 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2145, allocations: 0 / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.2147, allocations: 132.9 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.2147, allocations: 85.02 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.2148, allocations: 8 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.2148, allocations: 15.98 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.2149, allocations: 11.92 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.2149, allocations: 3.984 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.2149, allocations: 99.22 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2149, allocations: 0 / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001891/0.2151, allocations: 23.98 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0001221/0.2153, allocations: 103.2 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.2156, allocations: 179.3 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2156, allocations: 0 / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.2157, allocations: 40.05 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.2159, allocations: 15.98 kB / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.2163, allocations: 204.9 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.2164, allocations: 0.7022 MB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.2164, allocations: 0 / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.2165, allocations: 11.44 kB / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2165, allocations: 0 / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of Templates: time 0.003163/0.2197, allocations: 1.415 MB / 0.9868 GB, free: 19.41 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)