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.713/1.713, allocations: 288.4 MB / 303.6 MB, free: 8.094 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.00141/0.00141, allocations: 172.5 kB / 372.3 MB, free: 10.12 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.744/1.744, allocations: 205.4 MB / 0.631 GB, free: 9.863 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.0009756/0.0009754, allocations: 94.3 kB / 0.7444 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004878, allocations: 14.16 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2907, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.002655/0.2934, allocations: 1.606 MB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.2952, allocations: 0.9494 MB / 0.9827 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002383/0.2955, allocations: 7.938 kB / 0.9827 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.296, allocations: 99.69 kB / 0.9828 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.2964, allocations: 75.72 kB / 0.9828 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.2968, allocations: 105.7 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.2971, allocations: 187.4 kB / 0.9831 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.2974, allocations: 61.89 kB / 0.9832 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.2975, allocations: 71.56 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.2977, allocations: 83.61 kB / 0.9833 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.2977, allocations: 4 kB / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.2979, allocations: 47.97 kB / 0.9834 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.298, allocations: 51.81 kB / 0.9834 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.636e-05/0.2981, allocations: 93.19 kB / 0.9835 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.2984, allocations: 219.8 kB / 0.9837 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2984, allocations: 0 / 0.9837 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2984, allocations: 0 / 0.9837 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2984, allocations: 0 / 0.9837 GB, free: 23.62 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.0007843/0.2992, allocations: 0.5062 MB / 0.9842 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2992, allocations: 12.03 kB / 0.9842 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.2993, allocations: 20.66 kB / 0.9842 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.2997, allocations: 303.7 kB / 0.9845 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.2997, allocations: 4.375 kB / 0.9845 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.2998, allocations: 11.94 kB / 0.9845 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.2999, allocations: 99.11 kB / 0.9846 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3, allocations: 4 kB / 0.9846 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3, allocations: 0 / 0.9846 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3, allocations: 0 / 0.9846 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.3001, allocations: 51.97 kB / 0.9847 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/0.3008, allocations: 456.3 kB / 0.9851 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.301, allocations: 82.61 kB / 0.9852 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.3011, allocations: 24.84 kB / 0.9852 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.3011, allocations: 4 kB / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.3013, allocations: 83.31 kB / 0.9853 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3013, allocations: 0 / 0.9853 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003407/0.3016, allocations: 137.5 kB / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.3017, allocations: 51.41 kB / 0.9855 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.302, allocations: 374.8 kB / 0.9859 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.302, allocations: 25.7 kB / 0.9859 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.905e-05/0.3021, allocations: 140 kB / 0.986 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.3022, allocations: 23.73 kB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-06/0.3022, allocations: 0 / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.3023, allocations: 338.8 kB / 0.9864 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.3024, allocations: 55.97 kB / 0.9864 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.443e-05/0.3025, allocations: 74.78 kB / 0.9865 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3026, allocations: 101.6 kB / 0.9866 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3026, allocations: 0 / 0.9866 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00025/0.3029, allocations: 186.7 kB / 0.9868 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3029, allocations: 8 kB / 0.9868 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3029, allocations: 0 / 0.9868 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.303, allocations: 7.875 kB / 0.9868 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3031, allocations: 23.98 kB / 0.9868 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3031, allocations: 0 / 0.9868 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3032, allocations: 27.86 kB / 0.9868 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.3032, allocations: 8 kB / 0.9868 GB, free: 20.2 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.0001401/0.3034, allocations: 155.4 kB / 0.987 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.3034, allocations: 27.66 kB / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.3035, allocations: 21.73 kB / 0.987 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3035, allocations: 4 kB / 0.987 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.3035, allocations: 3.984 kB / 0.987 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3035, allocations: 0 / 0.987 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.3037, allocations: 245.5 kB / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3037, allocations: 4 kB / 0.9873 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.3038, allocations: 7.938 kB / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3038, allocations: 0 / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3038, allocations: 8 kB / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.3038, allocations: 0 / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3038, allocations: 0 / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.304, allocations: 140.8 kB / 0.9874 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.3041, allocations: 104.8 kB / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.3041, allocations: 4 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.3042, allocations: 11.98 kB / 0.9875 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.3042, allocations: 15.97 kB / 0.9875 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.3043, allocations: 4 kB / 0.9876 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001816/0.3045, allocations: 229.9 kB / 0.9878 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.12e-07/0.3045, allocations: 0 / 0.9878 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002241/0.3047, allocations: 43.86 kB / 0.9878 GB, free: 19.1 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.001001/0.3057, allocations: 424 kB / 0.9882 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.3059, allocations: 103.9 kB / 0.9883 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3059, allocations: 0 / 0.9883 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.306, allocations: 35.97 kB / 0.9884 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3063, allocations: 46.11 kB / 0.9884 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.3069, allocations: 416.5 kB / 0.9888 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.3071, allocations: 0.7478 MB / 0.9895 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.794e-05/0.3072, allocations: 33.94 kB / 0.9896 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.3073, allocations: 19.44 kB / 0.9896 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3073, allocations: 0 / 0.9896 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.005538/0.3128, allocations: 2.578 MB / 0.9921 GB, free: 14.83 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)