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.001073/0.001073, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.264/1.264, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.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.712/1.712, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001451/0.001451, allocations: 66.27 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2086, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002017/0.2107, allocations: 0.8251 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.2119, allocations: 1.149 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.212, allocations: 4 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.2121, allocations: 3.938 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.658e-05/0.2121, allocations: 11.88 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.2126, allocations: 150.8 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.2128, allocations: 139.8 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2129, allocations: 35.98 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.278e-05/0.213, allocations: 63.81 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.607e-05/0.2131, allocations: 47.83 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.2131, allocations: 12 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.455e-05/0.2132, allocations: 27.92 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.2132, allocations: 23.92 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.2133, allocations: 55.77 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.2135, allocations: 155.8 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2135, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2135, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2135, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 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.000575/0.2141, allocations: 425 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.2142, allocations: 8.031 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.2142, allocations: 12.84 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.2143, allocations: 176.2 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.2143, allocations: 12.36 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.2144, allocations: 12.38 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.2146, allocations: 88.97 kB / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2146, allocations: 192 / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2147, allocations: 3.938 kB / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2147, allocations: 3.984 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2149, allocations: 59.94 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.2154, allocations: 388.5 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.2156, allocations: 50.56 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2157, allocations: 40.92 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.2157, allocations: 0 / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.2159, allocations: 95.14 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.216, allocations: 0 / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004165/0.2164, allocations: 121.6 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.2164, allocations: 55.41 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.343e-05/0.2165, allocations: 129.7 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.2166, allocations: 29.7 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.2166, allocations: 100 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.2166, allocations: 15.8 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.2167, allocations: 41.62 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.2168, allocations: 318.8 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.217, allocations: 55.95 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.2172, allocations: 75.39 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.2174, allocations: 120.2 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2174, allocations: 0 / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004075/0.2178, allocations: 187.3 kB / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.2179, allocations: 38.47 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2179, allocations: 4.094 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2179, allocations: 3.938 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.218, allocations: 7.984 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.218, allocations: 4.078 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.2182, allocations: 51.8 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.2183, allocations: 7.984 kB / 0.7886 GB, free: 7.828 MB / 0.6075 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 8.517e-05/0.2184, allocations: 126.5 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.2184, allocations: 3.906 kB / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.2184, allocations: 12.38 kB / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2184, allocations: 0 / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2184, allocations: 4.312 kB / 0.7888 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2185, allocations: 3.938 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.2186, allocations: 189.6 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2186, allocations: 3.938 kB / 0.7889 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.2187, allocations: 11.98 kB / 0.789 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2187, allocations: 0 / 0.789 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2187, allocations: 7.938 kB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2187, allocations: 0 / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2187, allocations: 0 / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.219, allocations: 129 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.219, allocations: 81.02 kB / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.219, allocations: 0 / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.2191, allocations: 11.98 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.2192, allocations: 15.92 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.2192, allocations: 4 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.009e-05/0.2192, allocations: 95.27 kB / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.154e-06/0.2192, allocations: 0 / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002233/0.2195, allocations: 31.84 kB / 0.7893 GB, free: 7.016 MB / 0.6075 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.00013/0.2196, allocations: 103.2 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003864/0.22, allocations: 171.3 kB / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.22, allocations: 0 / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.2201, allocations: 44.09 kB / 0.7896 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.2204, allocations: 16.05 kB / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.2208, allocations: 187 kB / 0.7898 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.221, allocations: 0.6924 MB / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.381e-05/0.2211, allocations: 7.969 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.2211, allocations: 11.44 kB / 0.7905 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2211, allocations: 0 / 0.7905 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.004035/0.2251, allocations: 1.629 MB / 0.7921 GB, free: 4.105 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)