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.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",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.818/1.818, allocations: 288.2 MB / 303.2 MB, free: 8.23 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.001454/0.001454, allocations: 179.5 kB / 371.8 MB, free: 10.29 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.065/2.065, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.001057/0.001058, allocations: 101.5 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.000417, allocations: 17.47 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2701, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.00208/0.2723, allocations: 1.583 MB / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2736, allocations: 0.9455 MB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.2738, allocations: 11.88 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.2741, allocations: 83.75 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.2743, allocations: 83.7 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.2746, allocations: 105.9 kB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.2748, allocations: 127.7 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.275, allocations: 33.66 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.2751, allocations: 75.69 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.718e-05/0.2752, allocations: 75.67 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.2752, allocations: 4 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.2753, allocations: 39.86 kB / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.2754, allocations: 51.88 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.2754, allocations: 53.58 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.2757, allocations: 215.8 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2757, allocations: 0 / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2757, allocations: 0 / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2757, allocations: 0 / 0.9829 GB, free: 24.08 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006782/0.2764, allocations: 0.5068 MB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2764, allocations: 16.02 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.2765, allocations: 30.56 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.2765, allocations: 31.66 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.2768, allocations: 298.4 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.2769, allocations: 4 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.2769, allocations: 4 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.2771, allocations: 85.59 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2771, allocations: 0 / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2771, allocations: 0 / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2771, allocations: 8 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.2773, allocations: 47.92 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006651/0.2779, allocations: 420.6 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.2782, allocations: 86.61 kB / 0.9844 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.2782, allocations: 4 kB / 0.9844 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.2784, allocations: 79.44 kB / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.2784, allocations: 4 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003239/0.2787, allocations: 129.4 kB / 0.9846 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.2788, allocations: 51.41 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.2791, allocations: 362.9 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2791, allocations: 29.7 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.2792, allocations: 143.9 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.2792, allocations: 19.8 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-06/0.2792, allocations: 4 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.2793, allocations: 334.8 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.302e-05/0.2794, allocations: 55.97 kB / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.2796, allocations: 77.62 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.366e-05/0.2797, allocations: 59.92 kB / 0.9857 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2797, allocations: 0 / 0.9857 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000272/0.2799, allocations: 194.8 kB / 0.9858 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.28, allocations: 9.406 kB / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.28, allocations: 4.031 kB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.28, allocations: 0 / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.2801, allocations: 27.92 kB / 0.9859 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2802, allocations: 0 / 0.9859 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.2803, allocations: 19.89 kB / 0.9859 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.2803, allocations: 4 kB / 0.9859 GB, free: 20.75 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.0001288/0.2804, allocations: 158.5 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.2805, allocations: 31.7 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.2805, allocations: 21.75 kB / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2805, allocations: 0 / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2805, allocations: 3.984 kB / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2805, allocations: 0 / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.2807, allocations: 241.5 kB / 0.9863 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2807, allocations: 0 / 0.9863 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.2807, allocations: 7.984 kB / 0.9863 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2807, allocations: 0 / 0.9863 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2808, allocations: 3.953 kB / 0.9863 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2808, allocations: 4 kB / 0.9864 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2808, allocations: 4 kB / 0.9864 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.281, allocations: 128.9 kB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.281, allocations: 104.8 kB / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.2811, allocations: 4 kB / 0.9866 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.2811, allocations: 19.94 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.2812, allocations: 23.91 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2812, allocations: 4 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001718/0.2814, allocations: 229.9 kB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2814, allocations: 0 / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002304/0.2816, allocations: 35.91 kB / 0.9869 GB, free: 19.65 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.001274/0.2829, allocations: 0.9863 MB / 0.9878 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.2832, allocations: 103.9 kB / 0.9879 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2832, allocations: 0 / 0.9879 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.573e-05/0.2833, allocations: 35.92 kB / 0.988 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.2836, allocations: 46.5 kB / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008328/0.2844, allocations: 0.7939 MB / 0.9888 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.2846, allocations: 0.7556 MB / 0.9895 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.971e-05/0.2847, allocations: 33.67 kB / 0.9896 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.301e-05/0.2848, allocations: 67.41 kB / 0.9896 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2848, allocations: 0 / 0.9896 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.2996, allocations: 4.768 MB / 0.9943 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.2998, allocations: 244.8 kB / 0.9945 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.089, allocations: 2.25 kB / 0.9945 GB, free: 11.96 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)