Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001584/0.001584, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.325/1.325, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.629/1.629, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001318/0.001318, allocations: 62.2 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1917, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00194/0.1937, allocations: 0.946 MB / 0.7838 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007966/0.1945, allocations: 0.8711 MB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.1945, allocations: 0 / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.1946, allocations: 3.938 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.543e-05/0.1947, allocations: 15.86 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.1948, allocations: 39.91 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.1949, allocations: 107.7 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1951, allocations: 37.11 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1952, allocations: 51.83 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.1953, allocations: 47.77 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1953, allocations: 12 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.1953, allocations: 8 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.1953, allocations: 23.92 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.1954, allocations: 55.66 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.1955, allocations: 119.8 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1955, allocations: 11.98 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1955, allocations: 0 / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.1955, allocations: 0 / 0.7851 GB, free: 11.55 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007806/0.1963, allocations: 451 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.1964, allocations: 12.03 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.1964, allocations: 8.844 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.1965, allocations: 184.1 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1966, allocations: 8.375 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.1966, allocations: 12.38 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1968, allocations: 94.08 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1968, allocations: 192 / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1968, allocations: 15.88 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1968, allocations: 0 / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.197, allocations: 59.97 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006643/0.1977, allocations: 408.5 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1978, allocations: 66.48 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.829e-05/0.1979, allocations: 32.97 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1979, allocations: 3.984 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.198, allocations: 30.56 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.198, allocations: 0 / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003265/0.1983, allocations: 125.4 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.1983, allocations: 51.41 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1985, allocations: 157.5 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1985, allocations: 25.7 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.1985, allocations: 104 kB / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1986, allocations: 15.89 kB / 0.7869 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.1986, allocations: 17.72 kB / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.1987, allocations: 326.8 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.1988, allocations: 27.98 kB / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.1989, allocations: 28.23 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.199, allocations: 48.77 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.199, allocations: 4 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001923/0.1992, allocations: 93.56 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1992, allocations: 12 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1992, allocations: 0 / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1993, allocations: 0 / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.1994, allocations: 11.98 kB / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1994, allocations: 3.938 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.1995, allocations: 31.95 kB / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1996, allocations: 8 kB / 0.7875 GB, free: 8.895 MB / 0.6075 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.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/0.1996, allocations: 113.8 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.1997, allocations: 11.84 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.1997, allocations: 20.3 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1997, allocations: 0 / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1997, allocations: 3.938 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1997, allocations: 0 / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1999, allocations: 205.5 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1999, allocations: 0 / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.2, allocations: 8 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2, allocations: 3.984 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2, allocations: 8 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2001, allocations: 0 / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.2001, allocations: 3.938 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.2003, allocations: 175.4 kB / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.2003, allocations: 89.02 kB / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.2003, allocations: 4 kB / 0.7881 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.2005, allocations: 23.97 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.2006, allocations: 23.8 kB / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.2006, allocations: 7.984 kB / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.892e-05/0.2007, allocations: 113.7 kB / 0.7883 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2007, allocations: 4 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002259/0.2009, allocations: 15.91 kB / 0.7883 GB, free: 7.977 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.831e-05/0.201, allocations: 107.2 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.2013, allocations: 64.27 kB / 0.7885 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2013, allocations: 0 / 0.7885 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.2014, allocations: 35.92 kB / 0.7885 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.2017, allocations: 15.98 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.202, allocations: 231.6 kB / 0.7887 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.2022, allocations: 0.7002 MB / 0.7894 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.565e-05/0.2023, allocations: 7.984 kB / 0.7894 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.2024, allocations: 15.42 kB / 0.7895 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2024, allocations: 0 / 0.7895 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of Templates: time 0.003022/0.2054, allocations: 1.178 MB / 0.7906 GB, free: 5.594 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)