Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_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.001699/0.001699, 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.00174/0.00174, allocations: 191.9 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.891/2.891, allocations: 469.8 MB / 0.7424 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 65.73 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2656, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003202/0.2689, allocations: 1.824 MB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003423/0.2692, allocations: 127.5 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.373e-05/0.2694, allocations: 4 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.2695, allocations: 15.8 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.2696, allocations: 51.55 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.2697, allocations: 31.95 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.2699, allocations: 167.2 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.2701, allocations: 25.11 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.668e-05/0.2701, allocations: 63.7 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.2703, allocations: 67.77 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.2703, allocations: 8 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.896e-05/0.2703, allocations: 8 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.2704, allocations: 23.91 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.799e-05/0.2705, allocations: 63.67 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.2706, allocations: 127.8 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2706, allocations: 3.938 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2706, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.2706, allocations: 4 kB / 1.067 GB, free: 11.6 MB / 0.8262 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.0007816/0.2714, allocations: 450.8 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2715, allocations: 12.03 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.2715, allocations: 34.75 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.2716, allocations: 12.84 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.2718, allocations: 204 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2718, allocations: 12.38 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.2718, allocations: 8.359 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.2721, allocations: 113.2 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2721, allocations: 3.938 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.2722, allocations: 4 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2722, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.2725, allocations: 103.9 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/0.2732, allocations: 476.6 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.2736, allocations: 133.2 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.2738, allocations: 61.78 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.2738, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.2739, allocations: 42.5 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.2739, allocations: 0 / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005954/0.2745, allocations: 177.5 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.2745, allocations: 81.09 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.2747, allocations: 176 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2747, allocations: 29.7 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.2748, allocations: 108.1 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.2748, allocations: 31.55 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.2749, allocations: 21.72 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2751, allocations: 330.8 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.2752, allocations: 35.97 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.2754, allocations: 65.62 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.2757, allocations: 105.6 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2757, allocations: 0 / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003756/0.2761, allocations: 145.7 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2761, allocations: 12 kB / 1.069 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2761, allocations: 4.172 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2761, allocations: 3.938 kB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.2763, allocations: 23.92 kB / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2763, allocations: 4 kB / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.2765, allocations: 15.92 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2765, allocations: 4 kB / 1.07 GB, free: 8.344 MB / 0.8262 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 9.903e-05/0.2766, allocations: 117.8 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.2766, allocations: 19.81 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000443/0.2771, allocations: 154.5 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2771, allocations: 4 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2771, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2771, allocations: 3.938 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.2774, allocations: 225.6 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2774, allocations: 4 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.2776, allocations: 27.92 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2776, allocations: 0 / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2776, allocations: 4 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2776, allocations: 0 / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2776, allocations: 0 / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.2781, allocations: 318.5 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.2782, allocations: 88.91 kB / 1.07 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.2782, allocations: 4 kB / 1.07 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2784, allocations: 11.98 kB / 1.07 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.2784, allocations: 7.938 kB / 1.07 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2784, allocations: 4.188 kB / 1.07 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001041/0.2786, allocations: 127.2 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2786, allocations: 0 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002941/0.2789, allocations: 28 kB / 1.071 GB, free: 7.121 MB / 0.8262 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.0007363/0.2796, allocations: 0.8405 MB / 1.071 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003625/0.28, allocations: 112 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.28, allocations: 7.938 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.2802, allocations: 55.84 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.2806, allocations: 44.23 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.283, allocations: 1.81 MB / 1.073 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.2833, allocations: 0.7045 MB / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.847e-05/0.2834, allocations: 16.64 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.2835, allocations: 31.42 kB / 1.074 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2835, allocations: 0 / 1.074 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.3074, allocations: 3.587 MB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/7.813, allocations: 24.73 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches