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.001412/0.001412, allocations: 108 kB / 15.6 MB, free: 132 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.001633/0.001633, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.593/2.593, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 63.91 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5761/0.5785, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003288/0.5818, allocations: 2.217 MB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.5837, allocations: 1.525 MB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.5838, allocations: 8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.584, allocations: 59.2 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.5842, allocations: 91.08 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.5848, allocations: 299.3 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000506/0.5853, allocations: 0.6488 MB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.5858, allocations: 365.7 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.586, allocations: 231.2 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.5862, allocations: 250.7 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.86e-05/0.5863, allocations: 72 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.5864, allocations: 83.98 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.686e-05/0.5865, allocations: 131.5 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.5867, allocations: 294.5 kB / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.5873, allocations: 0.7614 MB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5873, allocations: 7.984 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5873, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.5873, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 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.00109/0.5884, allocations: 0.8012 MB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5885, allocations: 8.031 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.5886, allocations: 102.7 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.971e-05/0.5887, allocations: 68.19 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.5891, allocations: 363.6 kB / 1.026 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.5892, allocations: 37.69 kB / 1.026 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/0.5892, allocations: 60.38 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007818/0.59, allocations: 0.4992 MB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.59, allocations: 3.938 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.5901, allocations: 23.98 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.5901, allocations: 16 kB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/0.5907, allocations: 364.6 kB / 1.027 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.5927, allocations: 1.457 MB / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.5932, allocations: 281.4 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003895/0.5936, allocations: 177.6 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.5937, allocations: 4 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.5941, allocations: 206.8 kB / 1.029 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/0.5941, allocations: 4 kB / 1.029 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0008413/0.595, allocations: 388.9 kB / 1.029 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.595, allocations: 85.09 kB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/0.5955, allocations: 413.5 kB / 1.029 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.5955, allocations: 33.7 kB / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.5957, allocations: 263.9 kB / 1.03 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/0.5958, allocations: 114.5 kB / 1.03 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.596, allocations: 78.03 kB / 1.03 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.5961, allocations: 354.7 kB / 1.03 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.5964, allocations: 132.8 kB / 1.03 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.5968, allocations: 215 kB / 1.031 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.5973, allocations: 341.8 kB / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5973, allocations: 4 kB / 1.031 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008374/0.5982, allocations: 469.8 kB / 1.031 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.5982, allocations: 38.95 kB / 1.031 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5983, allocations: 8 kB / 1.031 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.5983, allocations: 12.17 kB / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.5986, allocations: 79.89 kB / 1.031 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.5986, allocations: 11.88 kB / 1.031 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.599, allocations: 75.33 kB / 1.032 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.599, allocations: 20 kB / 1.032 GB, free: 3.559 MB / 0.7794 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.0002032/0.5992, allocations: 169.8 kB / 1.032 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.5993, allocations: 43.44 kB / 1.032 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006475/0.6, allocations: 330.6 kB / 1.032 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6, allocations: 7.938 kB / 1.032 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.6, allocations: 4 kB / 1.032 GB, free: 3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6, allocations: 0 / 1.032 GB, free: 3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.6012, allocations: 0.9707 MB / 1.033 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.6012, allocations: 0 / 1.033 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.6014, allocations: 64.09 kB / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.6015, allocations: 8 kB / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.6015, allocations: 8 kB / 1.033 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.6015, allocations: 3.984 kB / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6015, allocations: 7.938 kB / 1.033 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006301/0.6021, allocations: 0.5044 MB / 1.034 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.6023, allocations: 128.5 kB / 1.034 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.6023, allocations: 8 kB / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.6025, allocations: 8 kB / 1.034 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.6026, allocations: 35.84 kB / 1.034 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.6027, allocations: 15.98 kB / 1.034 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002943/0.603, allocations: 291.2 kB / 1.034 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.603, allocations: 0 / 1.034 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004135/0.6034, allocations: 111.6 kB / 1.034 GB, free: 0.7305 MB / 0.7794 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.0009442/0.6043, allocations: 1.058 MB / 1.035 GB, free: 15.63 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006898/0.605, allocations: 388.8 kB / 1.036 GB, free: 15.24 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.6051, allocations: 4 kB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.6053, allocations: 144.3 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.6059, allocations: 73.58 kB / 1.036 GB, free: 15.02 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.6104, allocations: 3.798 MB / 1.04 GB, free: 11.05 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.6108, allocations: 0.8198 MB / 1.04 GB, free: 10.21 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.6109, allocations: 43.27 kB / 1.04 GB, free: 10.17 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.6111, allocations: 159.4 kB / 1.041 GB, free: 10.02 MB / 0.795 GB Notification: Performance of SimCode: time 5.1e-07/0.6112, allocations: 0 / 1.041 GB, free: 10.02 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.6357, allocations: 7.114 MB / 1.047 GB, free: 3.074 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/8.333, allocations: 11.14 kB / 1.047 GB, free: 3.066 MB / 0.795 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