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 2.808/2.808, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.002268/0.002268, allocations: 177.3 kB / 371 MB, free: 10.88 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.237/2.237, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.00108/0.00108, allocations: 90.67 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007477/0.0007481, allocations: 19.05 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2592, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.002565/0.2618, allocations: 1.61 MB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002117/0.264, allocations: 0.9535 MB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.2643, allocations: 4 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.2647, allocations: 95.69 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.2651, allocations: 75.72 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.2656, allocations: 103.8 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.2659, allocations: 175.5 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.2661, allocations: 54 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.2662, allocations: 67.64 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.2664, allocations: 79.61 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.2664, allocations: 7.938 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.2667, allocations: 51.95 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.2667, allocations: 51.83 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.2668, allocations: 57.56 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.2672, allocations: 215.8 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2672, allocations: 3.984 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.875e-06/0.2672, allocations: 0 / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2672, allocations: 0 / 0.9819 GB, free: 24.74 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.0009323/0.2681, allocations: 0.5099 MB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2682, allocations: 12.02 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.558e-05/0.2683, allocations: 27.67 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.2688, allocations: 290.4 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.2688, allocations: 4 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.2688, allocations: 12 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.2691, allocations: 89.64 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2692, allocations: 0 / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.2692, allocations: 4 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2692, allocations: 8 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.2694, allocations: 55.86 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008996/0.2703, allocations: 460.4 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.2707, allocations: 78.67 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.577e-05/0.2708, allocations: 28.84 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.2708, allocations: 0 / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.271, allocations: 75.38 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.2711, allocations: 7.938 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004579/0.2715, allocations: 129.6 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.2716, allocations: 55.41 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.2721, allocations: 359 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.2721, allocations: 29.7 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2722, allocations: 147.9 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.2723, allocations: 19.8 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.2723, allocations: 4 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.2724, allocations: 346.7 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.2726, allocations: 55.98 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.2728, allocations: 75.16 kB / 0.9846 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.2729, allocations: 59.86 kB / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.273, allocations: 0 / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004665/0.2735, allocations: 191.1 kB / 0.9849 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2735, allocations: 12.02 kB / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2735, allocations: 0 / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2736, allocations: 0 / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.2738, allocations: 23.94 kB / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.2738, allocations: 7.922 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.274, allocations: 19.94 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.274, allocations: 8 kB / 0.9849 GB, free: 21.37 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.0001955/0.2743, allocations: 165 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.2743, allocations: 19.72 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.482e-05/0.2744, allocations: 25.73 kB / 0.9851 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2744, allocations: 3.938 kB / 0.9852 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2744, allocations: 0 / 0.9852 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2744, allocations: 0 / 0.9852 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.2747, allocations: 253.4 kB / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2747, allocations: 0 / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.2747, allocations: 4 kB / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2747, allocations: 0 / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2748, allocations: 0 / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2748, allocations: 4 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2748, allocations: 3.984 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.2751, allocations: 136.9 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.2752, allocations: 104.8 kB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.2753, allocations: 7.984 kB / 0.9856 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.2754, allocations: 8 kB / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.2755, allocations: 15.97 kB / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.2755, allocations: 11.94 kB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002967/0.2758, allocations: 229.9 kB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2758, allocations: 0 / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003775/0.2762, allocations: 43.84 kB / 0.9859 GB, free: 20.26 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.001282/0.2775, allocations: 412.1 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004899/0.2781, allocations: 111.9 kB / 0.9864 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2781, allocations: 0 / 0.9864 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.2782, allocations: 31.98 kB / 0.9865 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.2788, allocations: 44.81 kB / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008924/0.2797, allocations: 419.5 kB / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.28, allocations: 0.744 MB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001761/0.2802, allocations: 30.09 kB / 0.9877 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.2802, allocations: 31.36 kB / 0.9877 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2803, allocations: 3.938 kB / 0.9877 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of Templates: time 0.009014/0.2893, allocations: 2.549 MB / 0.9902 GB, free: 16.02 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)