Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_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.001973/0.001974, allocations: 108.6 kB / 15.73 MB, free: 72 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.002217/0.002217, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.861/2.861, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001935, allocations: 67.91 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2718, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003392/0.2753, allocations: 2.206 MB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.2773, allocations: 1.528 MB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.2774, allocations: 8 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.2776, allocations: 59.2 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.2778, allocations: 87.09 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006624/0.2785, allocations: 307.4 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006398/0.2791, allocations: 0.6449 MB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004821/0.2796, allocations: 361.8 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.2798, allocations: 231.2 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.2801, allocations: 258.7 kB / 1.226 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.089e-05/0.2802, allocations: 68 kB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.2804, allocations: 83.98 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.2805, allocations: 139.5 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.2808, allocations: 286.6 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007704/0.2815, allocations: 0.7936 MB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2815, allocations: 0 / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.587e-06/0.2816, allocations: 0 / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.2816, allocations: 7.938 kB / 1.227 GB, free: 7.27 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001199/0.2828, allocations: 0.8316 MB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2828, allocations: 8.031 kB / 1.228 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.2829, allocations: 102.7 kB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.283, allocations: 64.56 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.2835, allocations: 351.9 kB / 1.228 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.2835, allocations: 45.69 kB / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.2836, allocations: 56.38 kB / 1.228 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008726/0.2845, allocations: 0.5069 MB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.2845, allocations: 7.938 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.2846, allocations: 23.94 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.2846, allocations: 12 kB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007202/0.2853, allocations: 356.7 kB / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.2874, allocations: 1.458 MB / 1.231 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.288, allocations: 285.4 kB / 1.231 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.2884, allocations: 181.6 kB / 1.231 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.2884, allocations: 11.94 kB / 1.231 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004028/0.2888, allocations: 198.9 kB / 1.231 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.2889, allocations: 0 / 1.231 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0008602/0.2897, allocations: 391 kB / 1.232 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.2898, allocations: 81.11 kB / 1.232 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.2903, allocations: 413.6 kB / 1.232 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.2903, allocations: 37.7 kB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.2905, allocations: 264.5 kB / 1.232 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.2906, allocations: 130.9 kB / 1.233 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.2908, allocations: 82.08 kB / 1.233 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2909, allocations: 354.7 kB / 1.233 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.2913, allocations: 132.8 kB / 1.233 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.2916, allocations: 207.2 kB / 1.233 GB, free: 460 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.2923, allocations: 344.7 kB / 1.234 GB, free: 88 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2923, allocations: 0 / 1.234 GB, free: 88 kB / 0.9825 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009103/0.2932, allocations: 469 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.2932, allocations: 37.7 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.2933, allocations: 4 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2933, allocations: 11.92 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.2936, allocations: 79.84 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.2936, allocations: 7.938 kB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.294, allocations: 83.47 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.2941, allocations: 16 kB / 1.234 GB, free: 15.37 MB / 0.9981 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 (48): * Single equations (assignments): 47 * 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.0001936/0.2943, allocations: 174.2 kB / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.2943, allocations: 47.7 kB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006831/0.295, allocations: 325 kB / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.295, allocations: 7.938 kB / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.295, allocations: 4 kB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2951, allocations: 0 / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.2963, allocations: 0.9707 MB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2963, allocations: 192 / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.2966, allocations: 71.91 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.2966, allocations: 4 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.2967, allocations: 15.92 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2967, allocations: 0 / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2967, allocations: 4 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/0.2974, allocations: 0.5133 MB / 1.236 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.2975, allocations: 136.7 kB / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.2975, allocations: 8 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.2978, allocations: 15.98 kB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.2978, allocations: 27.91 kB / 1.237 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.2979, allocations: 8 kB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003315/0.2982, allocations: 291.2 kB / 1.237 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2982, allocations: 0 / 1.237 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005412/0.2988, allocations: 107.8 kB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (34): * Single equations (assignments): 33 * 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.001026/0.2998, allocations: 1.068 MB / 1.238 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007217/0.3005, allocations: 382.1 kB / 1.238 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3005, allocations: 0 / 1.238 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.3008, allocations: 143.2 kB / 1.239 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.3014, allocations: 69.41 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005125/0.3066, allocations: 3.781 MB / 1.242 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.307, allocations: 0.8237 MB / 1.243 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.3072, allocations: 47.2 kB / 1.243 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.3074, allocations: 151.4 kB / 1.243 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/0.3074, allocations: 4 kB / 1.243 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5033/0.8107, allocations: 7.198 MB / 1.25 GB, free: 30.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/9.253, allocations: 6.281 kB / 1.25 GB, free: 30.36 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches