Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001089, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 188 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.67 kB / 0.6718 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2213, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003679/0.225, allocations: 2.39 MB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.2271, allocations: 1.553 MB / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.2273, allocations: 8 kB / 0.7875 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.2274, allocations: 63.14 kB / 0.7875 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.2277, allocations: 110.8 kB / 0.7877 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.2283, allocations: 318.6 kB / 0.788 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006274/0.229, allocations: 0.6993 MB / 0.7886 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004947/0.2295, allocations: 361.8 kB / 0.789 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.2297, allocations: 255 kB / 0.7892 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.23, allocations: 290.6 kB / 0.7895 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.441e-05/0.2301, allocations: 76 kB / 0.7896 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.2303, allocations: 91.98 kB / 0.7897 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2304, allocations: 151.5 kB / 0.7898 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.2306, allocations: 322.3 kB / 0.7901 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007154/0.2314, allocations: 0.8992 MB / 0.791 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2314, allocations: 0 / 0.791 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2314, allocations: 0 / 0.791 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.2314, allocations: 0 / 0.791 GB, free: 5.664 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001257/0.2327, allocations: 0.9238 MB / 0.7919 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2327, allocations: 8.031 kB / 0.7919 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.788e-05/0.2328, allocations: 90.7 kB / 0.792 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2329, allocations: 72.09 kB / 0.7921 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006008/0.2335, allocations: 475.1 kB / 0.7925 GB, free: 4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.2336, allocations: 41.69 kB / 0.7926 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.2336, allocations: 52.38 kB / 0.7926 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.2344, allocations: 0.4911 MB / 0.7931 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2344, allocations: 3.938 kB / 0.7931 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.2345, allocations: 31.98 kB / 0.7931 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.2345, allocations: 12 kB / 0.7931 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006104/0.2351, allocations: 348.3 kB / 0.7935 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.2369, allocations: 1.449 MB / 0.7949 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.2374, allocations: 273.4 kB / 0.7951 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.2378, allocations: 181.6 kB / 0.7953 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.2379, allocations: 4 kB / 0.7953 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004583/0.2383, allocations: 189 kB / 0.7955 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.2383, allocations: 0 / 0.7955 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.0007881/0.2391, allocations: 389.6 kB / 0.7959 GB, free: 460 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.2392, allocations: 85.11 kB / 0.7959 GB, free: 356 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.2397, allocations: 498.1 kB / 0.7964 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.2398, allocations: 41.62 kB / 0.7965 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.24, allocations: 307.8 kB / 0.7968 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.2401, allocations: 102.6 kB / 0.7969 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.2402, allocations: 77.97 kB / 0.7969 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2404, allocations: 370.7 kB / 0.7973 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.2406, allocations: 128.7 kB / 0.7974 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.2409, allocations: 201.9 kB / 0.7976 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.2415, allocations: 347.1 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2415, allocations: 0 / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008005/0.2423, allocations: 473.9 kB / 0.7984 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.2424, allocations: 45.89 kB / 0.7984 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2424, allocations: 0 / 0.7984 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.2424, allocations: 4 kB / 0.7984 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.2427, allocations: 79.83 kB / 0.7985 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.2427, allocations: 4 kB / 0.7985 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.2431, allocations: 79.28 kB / 0.7986 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.2431, allocations: 19.98 kB / 0.7986 GB, free: 13.53 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.2433, allocations: 178.4 kB / 0.7988 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.2434, allocations: 51.34 kB / 0.7988 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000593/0.244, allocations: 321.6 kB / 0.7991 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.244, allocations: 4 kB / 0.7991 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.244, allocations: 0 / 0.7991 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.244, allocations: 3.938 kB / 0.7991 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.2451, allocations: 0.9568 MB / 0.8001 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2451, allocations: 0 / 0.8001 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.2453, allocations: 67.83 kB / 0.8001 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2453, allocations: 0 / 0.8001 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.2453, allocations: 12.12 kB / 0.8001 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.2453, allocations: 4 kB / 0.8001 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2454, allocations: 0 / 0.8001 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.2459, allocations: 0.4993 MB / 0.8006 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.483e-05/0.246, allocations: 136.3 kB / 0.8008 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.2461, allocations: 8 kB / 0.8008 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.2463, allocations: 15.98 kB / 0.8008 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.2464, allocations: 19.98 kB / 0.8008 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.2464, allocations: 11.98 kB / 0.8008 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000325/0.2467, allocations: 358.8 kB / 0.8012 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2467, allocations: 0 / 0.8012 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004107/0.2471, allocations: 103.7 kB / 0.8013 GB, free: 10.67 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000834/0.248, allocations: 1.057 MB / 0.8023 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000629/0.2486, allocations: 371.4 kB / 0.8026 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2486, allocations: 8.062 kB / 0.8027 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.2489, allocations: 131.8 kB / 0.8028 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.2494, allocations: 70.52 kB / 0.8028 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/0.2542, allocations: 4.067 MB / 0.8068 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.2545, allocations: 0.8431 MB / 0.8076 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001677/0.2547, allocations: 56.25 kB / 0.8077 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.2549, allocations: 187.4 kB / 0.8079 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.2549, allocations: 0 / 0.8079 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.2802, allocations: 7.883 MB / 0.8156 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.354, allocations: 10.69 kB / 0.8156 GB, free: 11.96 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1)