Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3/3, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.001532/0.001532, allocations: 178.2 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.292/2.292, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001102/0.001101, allocations: 101.9 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004676, allocations: 13.44 kB / 0.8656 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.002425/0.2199, allocations: 1.61 MB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.222, allocations: 0.9418 MB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.2222, allocations: 7.938 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.2226, allocations: 87.75 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.2229, allocations: 87.7 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.2234, allocations: 109.8 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.2237, allocations: 127.7 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.2239, allocations: 46.06 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.2241, allocations: 79.69 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.2242, allocations: 67.67 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.2242, allocations: 7.938 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.2244, allocations: 43.92 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.2245, allocations: 51.81 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.2246, allocations: 53.58 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.2249, allocations: 215.8 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.225, allocations: 0 / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.225, allocations: 4 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.225, allocations: 0 / 0.9816 GB, free: 24.8 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008902/0.2259, allocations: 0.5021 MB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2259, allocations: 16.02 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.226, allocations: 27.61 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.2265, allocations: 290.5 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.2265, allocations: 12 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.2266, allocations: 8 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.2268, allocations: 93.64 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2269, allocations: 0 / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.2269, allocations: 0 / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.2269, allocations: 3.938 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.2271, allocations: 55.92 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008889/0.228, allocations: 460.4 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.2283, allocations: 82.66 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.2284, allocations: 4.125 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.2286, allocations: 79.31 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.2286, allocations: 0 / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004365/0.2291, allocations: 129.6 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.2291, allocations: 51.41 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/0.2296, allocations: 367 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.2296, allocations: 29.7 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.676e-05/0.2297, allocations: 147.9 kB / 0.9839 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.2298, allocations: 15.81 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.2298, allocations: 0 / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.2299, allocations: 346.7 kB / 0.9843 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.2301, allocations: 55.97 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.2302, allocations: 83.56 kB / 0.9844 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2304, allocations: 66.45 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2304, allocations: 0 / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004324/0.2309, allocations: 181.4 kB / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2309, allocations: 4 kB / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2309, allocations: 80 / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2309, allocations: 4 kB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.2311, allocations: 27.92 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2312, allocations: 7.984 kB / 0.9847 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.2313, allocations: 23.89 kB / 0.9847 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.2314, allocations: 4 kB / 0.9847 GB, free: 21.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001584/0.2316, allocations: 159.8 kB / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.2316, allocations: 19.72 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.27e-05/0.2317, allocations: 29.73 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2317, allocations: 0 / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.2317, allocations: 0 / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2318, allocations: 0 / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.232, allocations: 257.4 kB / 0.9851 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.232, allocations: 0 / 0.9851 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.232, allocations: 7.984 kB / 0.9851 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2321, allocations: 0 / 0.9851 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2321, allocations: 0 / 0.9851 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2321, allocations: 4 kB / 0.9851 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2321, allocations: 0 / 0.9851 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.2324, allocations: 124.9 kB / 0.9853 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.2325, allocations: 112.8 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.2325, allocations: 8 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.2327, allocations: 15.98 kB / 0.9854 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.2328, allocations: 11.92 kB / 0.9854 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.2328, allocations: 4 kB / 0.9854 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002912/0.2331, allocations: 229.9 kB / 0.9856 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2331, allocations: 4 kB / 0.9856 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003512/0.2335, allocations: 43.84 kB / 0.9857 GB, free: 20.36 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,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,lesHys.lesHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001298/0.2348, allocations: 418 kB / 0.9861 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.2352, allocations: 106.7 kB / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2352, allocations: 0 / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.2353, allocations: 31.98 kB / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.2358, allocations: 46.14 kB / 0.9863 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009032/0.2367, allocations: 412.6 kB / 0.9866 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.237, allocations: 0.7595 MB / 0.9874 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002/0.2373, allocations: 34.08 kB / 0.9874 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.2374, allocations: 27.38 kB / 0.9874 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of SimCode: time 1.182e-06/0.2374, allocations: 0 / 0.9874 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.009701/0.2471, allocations: 2.55 MB / 0.9899 GB, free: 16.11 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)