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.007945/0.007951, allocations: 99.52 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002122/0.002123, allocations: 201.1 kB / 16.68 MB, free: 5.961 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.815/2.815, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2917, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002833/0.2946, allocations: 1.838 MB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002739/0.2949, allocations: 115.6 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.295, allocations: 4 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.521e-05/0.2951, allocations: 11.86 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.701e-05/0.2952, allocations: 55.5 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.2953, allocations: 31.95 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.2955, allocations: 171.2 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.2956, allocations: 29.11 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.756e-05/0.2957, allocations: 51.78 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.2958, allocations: 63.77 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.2959, allocations: 12 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.202e-05/0.2959, allocations: 8 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.296, allocations: 31.84 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.638e-05/0.296, allocations: 67.66 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.2962, allocations: 131.4 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2962, allocations: 0 / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2962, allocations: 0 / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.2962, allocations: 0 / 1.223 GB, free: 11.72 MB / 0.9825 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.0007566/0.297, allocations: 450.8 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2971, allocations: 12.03 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.2971, allocations: 34.75 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.2971, allocations: 16.84 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.2974, allocations: 208.1 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2974, allocations: 12.36 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.2975, allocations: 8.375 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.2977, allocations: 114.6 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2978, allocations: 3.938 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.2978, allocations: 4 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2978, allocations: 0 / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.2981, allocations: 99.86 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007361/0.2989, allocations: 480.7 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.2992, allocations: 129.2 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.2994, allocations: 57.78 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.2995, allocations: 0 / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.2995, allocations: 42.5 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.2995, allocations: 0 / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006005/0.3001, allocations: 189.6 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.3002, allocations: 81.05 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3003, allocations: 170.9 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3004, allocations: 25.7 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.3004, allocations: 116.1 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.3005, allocations: 35.8 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.3005, allocations: 21.72 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3007, allocations: 326.8 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3008, allocations: 43.97 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.301, allocations: 57.69 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.3013, allocations: 105.6 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3013, allocations: 4 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003728/0.3017, allocations: 145.8 kB / 1.226 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3017, allocations: 7.938 kB / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3017, allocations: 4 kB / 1.226 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3018, allocations: 0 / 1.226 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.3019, allocations: 23.98 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3019, allocations: 3.984 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3021, allocations: 19.83 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.3021, allocations: 0 / 1.226 GB, free: 8.461 MB / 0.9825 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.0001001/0.3022, allocations: 121.8 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.3022, allocations: 11.95 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.3027, allocations: 162.5 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3027, allocations: 0 / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3027, allocations: 0 / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3027, allocations: 3.938 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.303, allocations: 221.6 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.303, allocations: 0 / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3032, allocations: 27.92 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3032, allocations: 4 kB / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3032, allocations: 0 / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3032, allocations: 0 / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3032, allocations: 0 / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.3036, allocations: 322.7 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.3037, allocations: 92.98 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3037, allocations: 4 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.3039, allocations: 7.984 kB / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.304, allocations: 11.88 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.304, allocations: 8.188 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001041/0.3041, allocations: 131.2 kB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3041, allocations: 0 / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002867/0.3044, allocations: 28 kB / 1.227 GB, free: 7.223 MB / 0.9825 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.0007342/0.3051, allocations: 0.841 MB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.3055, allocations: 111.9 kB / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3055, allocations: 0 / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.3057, allocations: 55.91 kB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.3061, allocations: 50.08 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.3084, allocations: 1.82 MB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3088, allocations: 0.7045 MB / 1.23 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.62e-05/0.3088, allocations: 20.77 kB / 1.23 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.3089, allocations: 35.42 kB / 1.23 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3089, allocations: 0 / 1.23 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.3329, allocations: 3.642 MB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.937, allocations: 20.44 kB / 1.234 GB, free: 15.97 MB / 0.9981 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