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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.731/1.731, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001192/0.001192, allocations: 179.9 kB / 371.8 MB, free: 10.25 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.856/1.856, allocations: 205.4 MB / 0.6305 GB, free: 9.977 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.0009064/0.0009063, allocations: 97.2 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004179, allocations: 18.34 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2603, allocations: 115.3 MB / 0.9795 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.002112/0.2625, allocations: 1.606 MB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2639, allocations: 0.9416 MB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.2641, allocations: 8 kB / 0.982 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.2645, allocations: 91.67 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.2647, allocations: 83.75 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.265, allocations: 108.8 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.2652, allocations: 131.7 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.2654, allocations: 50.06 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.2656, allocations: 79.62 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2657, allocations: 67.69 kB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.2657, allocations: 4 kB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.2658, allocations: 47.89 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.2659, allocations: 47.83 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.2659, allocations: 53.58 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.2662, allocations: 219.8 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2662, allocations: 0 / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2662, allocations: 0 / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.2662, allocations: 0 / 0.9829 GB, free: 24 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.0008242/0.2671, allocations: 0.5099 MB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.2671, allocations: 12.02 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.182e-05/0.2672, allocations: 46.55 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.2673, allocations: 27.67 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.2677, allocations: 290.4 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.2677, allocations: 4 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.2677, allocations: 12 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.2679, allocations: 89.64 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.268, allocations: 0 / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.268, allocations: 4 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.268, allocations: 4 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.2681, allocations: 55.83 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006425/0.2688, allocations: 448.5 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.269, allocations: 90.59 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.269, allocations: 4 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.2692, allocations: 71.5 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.2692, allocations: 0 / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003175/0.2695, allocations: 137.3 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.2695, allocations: 51.41 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.2698, allocations: 374.8 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.2699, allocations: 25.7 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.27, allocations: 144 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.27, allocations: 11.81 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.27, allocations: 8 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.2701, allocations: 330.8 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.92e-05/0.2702, allocations: 67.88 kB / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.103e-05/0.2703, allocations: 71.41 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.905e-05/0.2704, allocations: 65.7 kB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2704, allocations: 0 / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000245/0.2706, allocations: 197.2 kB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2707, allocations: 4 kB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2707, allocations: 4 kB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2707, allocations: 32 / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2708, allocations: 27.92 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2708, allocations: 4 kB / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2709, allocations: 15.92 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.271, allocations: 8 kB / 0.986 GB, free: 20.61 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.0001395/0.2711, allocations: 151.5 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.2711, allocations: 31.7 kB / 0.9862 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.2712, allocations: 21.75 kB / 0.9862 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2712, allocations: 0 / 0.9862 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2712, allocations: 0 / 0.9862 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2712, allocations: 7.984 kB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.2714, allocations: 245.5 kB / 0.9865 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2714, allocations: 7.938 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.2715, allocations: 7.938 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2715, allocations: 0 / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.2715, allocations: 4 kB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2715, allocations: 0 / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2715, allocations: 3.984 kB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.2717, allocations: 132.8 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.2718, allocations: 104.9 kB / 0.9867 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.2718, allocations: 4 kB / 0.9867 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.2719, allocations: 11.98 kB / 0.9867 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.272, allocations: 7.984 kB / 0.9867 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.272, allocations: 15.92 kB / 0.9867 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002115/0.2722, allocations: 233.9 kB / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2722, allocations: 0 / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002664/0.2725, allocations: 43.83 kB / 0.987 GB, free: 19.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: 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.001456/0.274, allocations: 0.985 MB / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.2742, allocations: 103.9 kB / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2743, allocations: 0 / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.2743, allocations: 35.97 kB / 0.9881 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.2746, allocations: 43 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000945/0.2756, allocations: 0.8211 MB / 0.9889 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.2758, allocations: 0.7557 MB / 0.9897 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.501e-05/0.2759, allocations: 25.94 kB / 0.9897 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.492e-05/0.276, allocations: 63.42 kB / 0.9898 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.276, allocations: 0 / 0.9898 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.2918, allocations: 4.821 MB / 0.9945 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.292, allocations: 237.2 kB / 0.9947 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.091, allocations: 0 / 0.9947 GB, free: 11.77 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)