Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_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.007228/0.007228, allocations: 97.34 kB / 15.73 MB, free: 6.055 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.001728/0.001728, allocations: 194.7 kB / 16.68 MB, free: 5.969 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.207/2.207, allocations: 390.3 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.9504 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.6602, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002769/0.663, allocations: 2.224 MB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.6647, allocations: 1.521 MB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.6649, allocations: 12.09 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.665, allocations: 64.27 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.6653, allocations: 95.58 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006324/0.6659, allocations: 304.5 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000555/0.6665, allocations: 0.6446 MB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.6669, allocations: 362 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.6671, allocations: 233.7 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.6673, allocations: 256 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.415e-05/0.6674, allocations: 74.56 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.6676, allocations: 83.97 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.183e-05/0.6677, allocations: 130.7 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.6679, allocations: 287.1 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007663/0.6687, allocations: 0.7991 MB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6687, allocations: 0.6875 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6687, allocations: 0 / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.6687, allocations: 0.5938 kB / 1.094 GB, free: 0.832 MB / 0.8575 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.001052/0.6698, allocations: 0.8282 MB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.6698, allocations: 9.75 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.283e-05/0.6699, allocations: 98.58 kB / 1.095 GB, free: 100 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.67, allocations: 63.11 kB / 1.095 GB, free: 68 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.6704, allocations: 354.1 kB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.6705, allocations: 41.91 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.485e-05/0.6706, allocations: 56.23 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/0.6715, allocations: 0.5128 MB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.6716, allocations: 7.938 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.6716, allocations: 21 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.6716, allocations: 13.8 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/0.6724, allocations: 357.5 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.6745, allocations: 1.453 MB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.6751, allocations: 286.8 kB / 1.098 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004247/0.6755, allocations: 179.3 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.6755, allocations: 9.609 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/0.676, allocations: 203.6 kB / 1.099 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.676, allocations: 0 / 1.099 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.0008454/0.6768, allocations: 391.4 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.6769, allocations: 85.78 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/0.6774, allocations: 411.7 kB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.6774, allocations: 36.58 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.6776, allocations: 270.8 kB / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.064e-05/0.6777, allocations: 114.9 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.6778, allocations: 85.39 kB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.678, allocations: 357.1 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.6783, allocations: 133.5 kB / 1.1 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.6787, allocations: 202 kB / 1.101 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005964/0.6793, allocations: 342.1 kB / 1.101 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6793, allocations: 0 / 1.101 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008843/0.6802, allocations: 482.5 kB / 1.101 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.6802, allocations: 37.7 kB / 1.101 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6802, allocations: 6.859 kB / 1.101 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.6802, allocations: 3.344 kB / 1.102 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.6806, allocations: 79.53 kB / 1.102 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.6806, allocations: 8.453 kB / 1.102 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.681, allocations: 84.19 kB / 1.102 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.6811, allocations: 18.39 kB / 1.102 GB, free: 12.23 MB / 0.8731 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.0001824/0.6812, allocations: 167.4 kB / 1.102 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.6813, allocations: 45.84 kB / 1.102 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/0.682, allocations: 320.3 kB / 1.102 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.682, allocations: 11.59 kB / 1.102 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.682, allocations: 1.719 kB / 1.102 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.682, allocations: 7.328 kB / 1.102 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.6834, allocations: 0.9738 MB / 1.103 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6834, allocations: 2.062 kB / 1.103 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.6837, allocations: 57.89 kB / 1.103 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.6837, allocations: 3.562 kB / 1.103 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.6837, allocations: 8.594 kB / 1.103 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.6837, allocations: 8.625 kB / 1.103 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.6838, allocations: 1.5 kB / 1.103 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.6844, allocations: 0.5213 MB / 1.104 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.6845, allocations: 134.7 kB / 1.104 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.6846, allocations: 9.062 kB / 1.104 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.6848, allocations: 16.19 kB / 1.104 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.6849, allocations: 28.66 kB / 1.104 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.6849, allocations: 13.91 kB / 1.104 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003184/0.6852, allocations: 286.6 kB / 1.104 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6852, allocations: 0 / 1.104 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004599/0.6857, allocations: 112.1 kB / 1.104 GB, free: 10.51 MB / 0.8731 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.0009515/0.6867, allocations: 1.06 MB / 1.105 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006987/0.6874, allocations: 386.8 kB / 1.106 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6874, allocations: 5.156 kB / 1.106 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.6877, allocations: 136.3 kB / 1.106 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.6883, allocations: 69.55 kB / 1.106 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005198/0.6935, allocations: 3.775 MB / 1.11 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.6939, allocations: 0.8239 MB / 1.11 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000173/0.6941, allocations: 48.34 kB / 1.11 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.6943, allocations: 156 kB / 1.111 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.6943, allocations: 1.594 kB / 1.111 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.7182, allocations: 7.193 MB / 1.118 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.535, allocations: 19.67 kB / 1.118 GB, free: 5.348 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches