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.468/1.468, 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.0009117/0.0009117, allocations: 173.7 kB / 372.3 MB, free: 10.11 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.131/1.131, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.000724/0.0007242, allocations: 102.3 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 18.56 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001484/0.1416, allocations: 1.591 MB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1427, allocations: 0.9493 MB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.1428, allocations: 7.938 kB / 0.9827 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1431, allocations: 95.67 kB / 0.9828 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.1432, allocations: 79.73 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1435, allocations: 96.94 kB / 0.983 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1437, allocations: 175.4 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1438, allocations: 41.67 kB / 0.9832 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/0.1439, allocations: 75.62 kB / 0.9832 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.144, allocations: 79.61 kB / 0.9833 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.144, allocations: 4 kB / 0.9833 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1441, allocations: 43.92 kB / 0.9834 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.1442, allocations: 47.83 kB / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.1442, allocations: 105.2 kB / 0.9835 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1444, allocations: 211.8 kB / 0.9837 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1444, allocations: 0 / 0.9837 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1444, allocations: 0 / 0.9837 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1444, allocations: 0 / 0.9837 GB, free: 23.59 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.0005624/0.145, allocations: 0.4984 MB / 0.9842 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.145, allocations: 8.031 kB / 0.9842 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.1451, allocations: 46.73 kB / 0.9842 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.1451, allocations: 24.66 kB / 0.9843 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.1454, allocations: 303.6 kB / 0.9846 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1454, allocations: 12.12 kB / 0.9846 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.1454, allocations: 7.984 kB / 0.9846 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1456, allocations: 79.78 kB / 0.9847 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1456, allocations: 0 / 0.9847 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1456, allocations: 4 kB / 0.9847 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1456, allocations: 0 / 0.9847 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.7e-05/0.1457, allocations: 47.91 kB / 0.9847 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.1462, allocations: 432.6 kB / 0.9851 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1464, allocations: 82.61 kB / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.1464, allocations: 28.84 kB / 0.9852 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.1465, allocations: 0 / 0.9852 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.1466, allocations: 83.31 kB / 0.9853 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1466, allocations: 4 kB / 0.9853 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002461/0.1469, allocations: 137.2 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.1469, allocations: 51.41 kB / 0.9855 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.1471, allocations: 359 kB / 0.9858 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.1472, allocations: 25.7 kB / 0.9859 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.1472, allocations: 147.9 kB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.1472, allocations: 19.8 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.1473, allocations: 0 / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.1473, allocations: 342.8 kB / 0.9863 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.1474, allocations: 51.98 kB / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.307e-05/0.1475, allocations: 77.59 kB / 0.9865 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1476, allocations: 96.72 kB / 0.9866 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1476, allocations: 3.938 kB / 0.9866 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002241/0.1478, allocations: 193.3 kB / 0.9867 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1479, allocations: 8 kB / 0.9868 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1479, allocations: 0 / 0.9868 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1479, allocations: 3.938 kB / 0.9868 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.639e-05/0.148, allocations: 27.92 kB / 0.9868 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.148, allocations: 0 / 0.9868 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.1481, allocations: 15.92 kB / 0.9868 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1481, allocations: 8 kB / 0.9868 GB, free: 20.18 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 8.435e-05/0.1482, allocations: 153.8 kB / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.1482, allocations: 23.72 kB / 0.987 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.1483, allocations: 29.67 kB / 0.987 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1483, allocations: 0 / 0.987 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1483, allocations: 0 / 0.987 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1483, allocations: 7.922 kB / 0.987 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.1484, allocations: 241.6 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1484, allocations: 0 / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.1485, allocations: 4 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1485, allocations: 0 / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1485, allocations: 11.92 kB / 0.9873 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1485, allocations: 4 kB / 0.9873 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1485, allocations: 0 / 0.9873 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.1487, allocations: 132.8 kB / 0.9874 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.1487, allocations: 100.8 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.1487, allocations: 15.94 kB / 0.9875 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.1488, allocations: 15.98 kB / 0.9875 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.1489, allocations: 7.984 kB / 0.9875 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1489, allocations: 8 kB / 0.9875 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001456/0.149, allocations: 229.9 kB / 0.9877 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.149, allocations: 3.938 kB / 0.9878 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002041/0.1492, allocations: 32 kB / 0.9878 GB, free: 19.08 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.0009209/0.1502, allocations: 0.9895 MB / 0.9887 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.1504, allocations: 107.8 kB / 0.9889 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1504, allocations: 0 / 0.9889 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.158e-05/0.1504, allocations: 28 kB / 0.9889 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.1507, allocations: 50.47 kB / 0.9889 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.1521, allocations: 1.395 MB / 0.9903 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.1522, allocations: 0.7554 MB / 0.991 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.655e-05/0.1523, allocations: 33.67 kB / 0.9911 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/0.1524, allocations: 63.42 kB / 0.9911 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.1524, allocations: 4 kB / 0.9911 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5339/0.6863, allocations: 4.892 MB / 0.9959 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.6865, allocations: 253 kB / 0.9961 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.377, allocations: 0 / 0.9961 GB, free: 10.62 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)