Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001163, allocations: 105.1 kB / 16.29 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 179.3 kB / 17.22 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.89 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1741, allocations: 114.6 MB / 0.7841 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001798/0.1759, allocations: 0.8104 MB / 0.7849 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1771, allocations: 1.156 MB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.1771, allocations: 0 / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.1772, allocations: 7.875 kB / 0.786 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.523e-05/0.1772, allocations: 11.92 kB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.1776, allocations: 149.4 kB / 0.7862 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.1778, allocations: 151.7 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.1779, allocations: 31.98 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.437e-05/0.178, allocations: 55.89 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.1781, allocations: 63.8 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.1781, allocations: 12 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-05/0.1782, allocations: 23.98 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.1782, allocations: 27.91 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.1783, allocations: 51.78 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.1785, allocations: 147.8 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1785, allocations: 4 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1785, allocations: 0 / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.1785, allocations: 4 kB / 0.7867 GB, free: 1.168 MB / 0.6544 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.0005441/0.179, allocations: 436.9 kB / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.1791, allocations: 12.02 kB / 0.7871 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.1791, allocations: 12.84 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.804e-05/0.1792, allocations: 176.2 kB / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1792, allocations: 4.375 kB / 0.7873 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1793, allocations: 12.38 kB / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1795, allocations: 98.08 kB / 0.7874 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1795, allocations: 192 / 0.7874 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.1795, allocations: 7.922 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1795, allocations: 0 / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.1797, allocations: 55.95 kB / 0.7875 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2774/0.4571, allocations: 377.1 kB / 0.7878 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.4573, allocations: 54.98 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.907e-05/0.4574, allocations: 32.33 kB / 0.7879 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.4574, allocations: 2.469 kB / 0.7879 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.4576, allocations: 86.28 kB / 0.788 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/0.4577, allocations: 2.906 kB / 0.788 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0003389/0.458, allocations: 123.2 kB / 0.7881 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.458, allocations: 54.28 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.126e-05/0.4581, allocations: 124.4 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.4581, allocations: 33.86 kB / 0.7883 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.4582, allocations: 101.4 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.4582, allocations: 15.73 kB / 0.7885 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.4583, allocations: 38.06 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.4583, allocations: 316.8 kB / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.4584, allocations: 49.91 kB / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.4586, allocations: 85.75 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.4587, allocations: 112.3 kB / 0.789 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4588, allocations: 3.609 kB / 0.789 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003125/0.4591, allocations: 199.5 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.4591, allocations: 41.23 kB / 0.7893 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4591, allocations: 1.688 kB / 0.7893 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4591, allocations: 0 / 0.7893 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.4592, allocations: 14.98 kB / 0.7893 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4592, allocations: 0 / 0.7893 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.4594, allocations: 45.39 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.4594, allocations: 6.781 kB / 0.7893 GB, free: 47.66 MB / 0.6544 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,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.4595, allocations: 124.7 kB / 0.7894 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.4595, allocations: 8.812 kB / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.4595, allocations: 8.188 kB / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4596, allocations: 0 / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4596, allocations: 3 kB / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4596, allocations: 0 / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.133e-05/0.4597, allocations: 194.2 kB / 0.7896 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4597, allocations: 4.031 kB / 0.7897 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.4597, allocations: 12.27 kB / 0.7897 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.4597, allocations: 3.938 kB / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.4597, allocations: 2.75 kB / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.4597, allocations: 0 / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4597, allocations: 0 / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.4599, allocations: 122.8 kB / 0.7898 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.46, allocations: 87.36 kB / 0.7899 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.46, allocations: 2.719 kB / 0.7899 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.424e-05/0.46, allocations: 13.14 kB / 0.7899 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.4601, allocations: 14.28 kB / 0.7899 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.4601, allocations: 6.25 kB / 0.7899 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.748e-05/0.4601, allocations: 91.84 kB / 0.79 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.21e-07/0.4601, allocations: 0 / 0.79 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002005/0.4604, allocations: 22.12 kB / 0.79 GB, free: 47.11 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001012/0.4605, allocations: 106.1 kB / 0.7901 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.4608, allocations: 172.7 kB / 0.7903 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4608, allocations: 0 / 0.7903 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.462e-05/0.4609, allocations: 37.39 kB / 0.7903 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.4611, allocations: 12.53 kB / 0.7903 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.4613, allocations: 187.9 kB / 0.7905 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.199e-05/0.4614, allocations: 0.6936 MB / 0.7912 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.4615, allocations: 13.44 kB / 0.7912 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.4615, allocations: 10 kB / 0.7912 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.4615, allocations: 3.844 kB / 0.7912 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.003033/0.4645, allocations: 1.632 MB / 0.7928 GB, free: 46.08 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)