Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_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.00465/0.00465, allocations: 98.55 kB / 15.73 MB, free: 6.035 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.001121/0.001121, allocations: 193.3 kB / 16.67 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.33/1.33, 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 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437.1 MB / 0.7106 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.25, allocations: 151.6 MB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003193/0.2533, allocations: 2.207 MB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.2553, allocations: 1.537 MB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.2556, allocations: 8 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.2557, allocations: 59.2 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.256, allocations: 99.09 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.2566, allocations: 299 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005459/0.2572, allocations: 0.6371 MB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.2576, allocations: 369.8 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.2578, allocations: 231.1 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.2581, allocations: 258.8 kB / 1.172 GB, free: 1.629 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.013e-05/0.2582, allocations: 72 kB / 1.172 GB, free: 1.559 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.2583, allocations: 83.98 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.2584, allocations: 139.5 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.2586, allocations: 286.6 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006458/0.2593, allocations: 0.7977 MB / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2593, allocations: 0 / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2593, allocations: 3.938 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.2593, allocations: 0 / 1.173 GB, free: 260 kB / 0.92 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.001077/0.2604, allocations: 0.8317 MB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2604, allocations: 8.031 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.807e-05/0.2605, allocations: 98.7 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.239e-05/0.2606, allocations: 60.56 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.261, allocations: 363.8 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.2611, allocations: 41.69 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.998e-05/0.2612, allocations: 60.38 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007887/0.2619, allocations: 0.507 MB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.262, allocations: 3.938 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.262, allocations: 20 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.262, allocations: 12 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000666/0.2627, allocations: 360.6 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.2646, allocations: 1.446 MB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.2651, allocations: 289.2 kB / 1.177 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.2655, allocations: 181.8 kB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.2656, allocations: 8 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003548/0.2659, allocations: 206.8 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.2659, allocations: 0 / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0007835/0.2667, allocations: 393.4 kB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.2668, allocations: 85.11 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.2672, allocations: 409.6 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.2672, allocations: 33.7 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.2674, allocations: 272.4 kB / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/0.2675, allocations: 119 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.2676, allocations: 82.11 kB / 1.179 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2678, allocations: 354.7 kB / 1.179 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.268, allocations: 128.8 kB / 1.179 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.2684, allocations: 207.1 kB / 1.179 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/0.2689, allocations: 351.8 kB / 1.18 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2689, allocations: 0 / 1.18 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008086/0.2698, allocations: 472.2 kB / 1.18 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.2698, allocations: 41.69 kB / 1.18 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.2698, allocations: 4 kB / 1.18 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2698, allocations: 4 kB / 1.18 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.2702, allocations: 75.89 kB / 1.18 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2702, allocations: 11.88 kB / 1.18 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.2705, allocations: 83.67 kB / 1.18 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.2706, allocations: 23.98 kB / 1.18 GB, free: 8.367 MB / 0.9356 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.0001697/0.2707, allocations: 165.8 kB / 1.181 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.2708, allocations: 39.72 kB / 1.181 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006195/0.2714, allocations: 326.7 kB / 1.181 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.2714, allocations: 11.94 kB / 1.181 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2715, allocations: 4 kB / 1.181 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2715, allocations: 3.984 kB / 1.181 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.2726, allocations: 0.9687 MB / 1.182 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2726, allocations: 0 / 1.182 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.2728, allocations: 63.91 kB / 1.182 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.2728, allocations: 4 kB / 1.182 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.2729, allocations: 8 kB / 1.182 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2729, allocations: 3.938 kB / 1.182 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2729, allocations: 7.938 kB / 1.182 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.2735, allocations: 0.5087 MB / 1.182 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.2736, allocations: 132.8 kB / 1.183 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.2736, allocations: 8 kB / 1.183 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.2739, allocations: 15.98 kB / 1.183 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.2739, allocations: 31.84 kB / 1.183 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.274, allocations: 8 kB / 1.183 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002767/0.2742, allocations: 287.2 kB / 1.183 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2742, allocations: 4 kB / 1.183 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000429/0.2747, allocations: 111.8 kB / 1.183 GB, free: 5.539 MB / 0.9356 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.0008719/0.2756, allocations: 1.064 MB / 1.184 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006416/0.2762, allocations: 381.7 kB / 1.184 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2762, allocations: 4.125 kB / 1.184 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.2765, allocations: 131.8 kB / 1.185 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.2771, allocations: 83.83 kB / 1.185 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/0.2816, allocations: 3.787 MB / 1.188 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.282, allocations: 0.8237 MB / 1.189 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.2822, allocations: 47.25 kB / 1.189 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.2824, allocations: 151.4 kB / 1.189 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.2824, allocations: 0 / 1.189 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.3056, allocations: 7.205 MB / 1.196 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/7.977, allocations: 15.14 kB / 1.196 GB, free: 7.812 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches