Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Examples.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_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.001243/0.001243, allocations: 108 kB / 15.61 MB, free: 152 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.001488/0.001488, allocations: 196.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.906/2.906, allocations: 437.1 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 67.89 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004141/1.049, allocations: 1.824 MB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004999/1.05, allocations: 119.6 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/1.05, allocations: 3.938 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000154/1.05, allocations: 19.86 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/1.05, allocations: 47.55 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/1.05, allocations: 31.95 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002973/1.051, allocations: 171.1 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/1.051, allocations: 25.11 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/1.051, allocations: 59.77 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/1.051, allocations: 59.77 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/1.051, allocations: 12 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.142e-05/1.051, allocations: 8 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.238e-05/1.051, allocations: 27.91 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.074e-05/1.051, allocations: 63.67 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/1.052, allocations: 133.7 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/1.052, allocations: 8 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.994e-06/1.052, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.397e-06/1.052, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000872/1.053, allocations: 446.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.053, allocations: 15.97 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/1.053, allocations: 34.75 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/1.053, allocations: 20.75 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/1.053, allocations: 204 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/1.053, allocations: 8.375 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/1.053, allocations: 12.34 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/1.053, allocations: 117.5 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.053, allocations: 3.938 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/1.053, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.053, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/1.054, allocations: 95.92 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000816/1.055, allocations: 480.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/1.055, allocations: 129.2 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/1.055, allocations: 57.78 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/1.055, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/1.055, allocations: 34.56 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/1.055, allocations: 4 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.000622/1.056, allocations: 169.5 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/1.056, allocations: 89.09 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/1.056, allocations: 172.6 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/1.056, allocations: 25.7 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/1.056, allocations: 108 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/1.056, allocations: 31.55 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/1.056, allocations: 25.66 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.057, allocations: 330.8 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/1.057, allocations: 35.97 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/1.057, allocations: 61.69 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/1.057, allocations: 101.9 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.057, allocations: 4 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003638/1.057, allocations: 149.4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.058, allocations: 9.812 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.058, allocations: 4 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/1.058, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/1.058, allocations: 19.98 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.058, allocations: 7.938 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/1.058, allocations: 20.05 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/1.058, allocations: 4 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001069/1.058, allocations: 127.1 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/1.058, allocations: 15.81 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/1.058, allocations: 150.5 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.059, allocations: 4 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.059, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/1.059, allocations: 7.938 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/1.059, allocations: 225.6 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.059, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/1.059, allocations: 19.98 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.059, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/1.059, allocations: 4.234 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/1.059, allocations: 4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.059, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/1.059, allocations: 314.5 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/1.06, allocations: 93 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/1.06, allocations: 4.188 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/1.06, allocations: 11.98 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/1.06, allocations: 15.88 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/1.06, allocations: 4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001059/1.06, allocations: 131.5 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/1.06, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002924/1.06, allocations: 31.94 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007214/1.061, allocations: 0.8404 MB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003519/1.061, allocations: 103.9 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.061, allocations: 4 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/1.062, allocations: 55.91 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/1.062, allocations: 45.23 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/1.065, allocations: 1.826 MB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/1.065, allocations: 0.7044 MB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001152/1.065, allocations: 16.64 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/1.065, allocations: 35.42 kB / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/1.065, allocations: 0 / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/1.091, allocations: 3.588 MB / 1.031 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.931, allocations: 10.36 kB / 1.031 GB, free: 4.195 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches