Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 288.4 MB / 303.4 MB, free: 8.195 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.001188/0.001187, allocations: 198.8 kB / 372 MB, free: 10.24 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.542/1.542, allocations: 205.4 MB / 0.6307 GB, free: 9.953 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.0008781/0.0008782, allocations: 94.3 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 11.5 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2087, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001716/0.2105, allocations: 1.196 MB / 0.9807 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.2114, allocations: 456.8 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.2115, allocations: 0 / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.2115, allocations: 0 / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.2116, allocations: 7.938 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.2118, allocations: 23.97 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.97e-05/0.2119, allocations: 47.84 kB / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2121, allocations: 8 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.023e-05/0.2121, allocations: 19.92 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.2122, allocations: 19.92 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.2122, allocations: 0 / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.2123, allocations: 4 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.2123, allocations: 3.984 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.2123, allocations: 41.64 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.984e-05/0.2124, allocations: 28.22 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2124, allocations: 3.938 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2124, allocations: 0 / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.2125, allocations: 0 / 0.9814 GB, free: 25.79 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005439/0.213, allocations: 359.2 kB / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2131, allocations: 8.031 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.2131, allocations: 11.91 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.2132, allocations: 175 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.2133, allocations: 4 kB / 0.9819 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.2133, allocations: 8 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.2134, allocations: 57.62 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2134, allocations: 0 / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2135, allocations: 3.984 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2135, allocations: 3.984 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.154e-05/0.2135, allocations: 31.92 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.2141, allocations: 300.8 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.2142, allocations: 54.56 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.2143, allocations: 28.94 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.2143, allocations: 4 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.2145, allocations: 75.33 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.2145, allocations: 0 / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002484/0.2147, allocations: 101.6 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2148, allocations: 51.41 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.2149, allocations: 109.8 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2149, allocations: 29.7 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.2149, allocations: 92.12 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.215, allocations: 27.64 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.215, allocations: 4 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.2151, allocations: 310.8 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.801e-05/0.2151, allocations: 15.98 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-05/0.2152, allocations: 51.36 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.006e-05/0.2152, allocations: 23.94 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2152, allocations: 4 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001508/0.2154, allocations: 93.61 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2154, allocations: 4 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2154, allocations: 0 / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.2155, allocations: 4 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.2156, allocations: 11.94 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2156, allocations: 3.953 kB / 0.9834 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.549e-05/0.2157, allocations: 19.92 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.2157, allocations: 0 / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.691e-05/0.2158, allocations: 121.8 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.2158, allocations: 384 / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.2158, allocations: 11.97 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2159, allocations: 3.984 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2159, allocations: 0 / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2159, allocations: 8.172 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.2163, allocations: 362.4 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2163, allocations: 0 / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.2163, allocations: 7.938 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2164, allocations: 3.984 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.2164, allocations: 8.062 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2164, allocations: 3.953 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2164, allocations: 0 / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.2165, allocations: 187.5 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.2166, allocations: 84.95 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.2166, allocations: 7.984 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.2167, allocations: 8 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.2168, allocations: 11.94 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2168, allocations: 0 / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.14e-05/0.2168, allocations: 87.27 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2168, allocations: 0 / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000264/0.2171, allocations: 16 kB / 0.9843 GB, free: 22.5 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001034/0.2172, allocations: 103.2 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.2174, allocations: 47.92 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2174, allocations: 0 / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.785e-05/0.2174, allocations: 35.86 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2178, allocations: 4.375 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.2181, allocations: 160.7 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.2182, allocations: 0.6848 MB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.2183, allocations: 7.984 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.2183, allocations: 11.44 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.2183, allocations: 0 / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.002783/0.2211, allocations: 0.6639 MB / 0.9859 GB, free: 20.73 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)