Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.77/1.77, allocations: 288.3 MB / 303.2 MB, free: 8.285 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.001176/0.001176, allocations: 173.1 kB / 371.8 MB, free: 10.27 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.104/2.104, allocations: 205.4 MB / 0.6306 GB, free: 9.973 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.001107/0.001107, allocations: 93.16 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004122, allocations: 14.5 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2218, allocations: 115.3 MB / 0.9794 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.001858/0.2237, allocations: 1.603 MB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.225, allocations: 0.9415 MB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.2251, allocations: 7.938 kB / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.2253, allocations: 87.75 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.2255, allocations: 87.69 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.2258, allocations: 106.5 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.2259, allocations: 135.6 kB / 0.9823 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.226, allocations: 46.08 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.854e-05/0.2261, allocations: 79.67 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.2262, allocations: 75.62 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.2262, allocations: 0 / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.2263, allocations: 43.91 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.2264, allocations: 51.81 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.2264, allocations: 53.58 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.2266, allocations: 215.8 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.2266, allocations: 0 / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2266, allocations: 0 / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.2266, allocations: 0 / 0.9829 GB, free: 24.11 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.000546/0.2272, allocations: 0.5099 MB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.137e-05/0.2272, allocations: 8.031 kB / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.2273, allocations: 31.67 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.2275, allocations: 290.4 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2276, allocations: 4 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.2276, allocations: 12 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.2277, allocations: 91.36 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2278, allocations: 0 / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2278, allocations: 4 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2278, allocations: 4 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.325e-05/0.2279, allocations: 47.97 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.2284, allocations: 460.4 kB / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.2286, allocations: 86.59 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.2286, allocations: 7.984 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.2287, allocations: 75.5 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.2288, allocations: 0 / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000262/0.229, allocations: 125.4 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.2291, allocations: 59.34 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.2293, allocations: 367 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.2294, allocations: 37.64 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.2294, allocations: 140 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.2294, allocations: 19.8 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.2295, allocations: 4 kB / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.823e-05/0.2295, allocations: 330.8 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.2296, allocations: 59.97 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.04e-05/0.2297, allocations: 81.59 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.277e-05/0.2298, allocations: 55.94 kB / 0.9857 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2298, allocations: 3.953 kB / 0.9857 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002396/0.23, allocations: 190.3 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.2301, allocations: 4 kB / 0.9859 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.2301, allocations: 7.938 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.2301, allocations: 0 / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.2302, allocations: 23.98 kB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2302, allocations: 4.031 kB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.2303, allocations: 19.92 kB / 0.9859 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.2303, allocations: 4.312 kB / 0.9859 GB, free: 20.77 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 9.918e-05/0.2304, allocations: 155.5 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.2305, allocations: 27.67 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.2305, allocations: 21.73 kB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2305, allocations: 0 / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2305, allocations: 8 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2305, allocations: 4 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.2307, allocations: 245.5 kB / 0.9864 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2307, allocations: 0 / 0.9864 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.2307, allocations: 7.953 kB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2307, allocations: 0 / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.2307, allocations: 7.984 kB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2307, allocations: 0 / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2308, allocations: 0 / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.2309, allocations: 136.8 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.231, allocations: 108.8 kB / 0.9866 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.231, allocations: 3.953 kB / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.2311, allocations: 11.98 kB / 0.9866 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.2312, allocations: 15.97 kB / 0.9866 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.2312, allocations: 4 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001609/0.2313, allocations: 237.9 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2313, allocations: 4 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002296/0.2316, allocations: 43.84 kB / 0.9869 GB, free: 19.66 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.0008373/0.2324, allocations: 415.9 kB / 0.9873 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.2326, allocations: 103.1 kB / 0.9874 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2326, allocations: 0 / 0.9874 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.431e-05/0.2327, allocations: 31.92 kB / 0.9874 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.233, allocations: 61.69 kB / 0.9875 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.2335, allocations: 416.5 kB / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.2336, allocations: 0.7518 MB / 0.9886 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.353e-05/0.2337, allocations: 29.94 kB / 0.9887 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.2338, allocations: 19.44 kB / 0.9887 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2338, allocations: 0 / 0.9887 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.005111/0.2389, allocations: 2.556 MB / 0.9912 GB, free: 15.41 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)