Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_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.001539/0.001539, 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.001968/0.001968, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.528/1.528, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.126/3.126, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 61.73 kB / 0.9082 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4478, allocations: 159.2 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003831/0.4517, allocations: 1.828 MB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004328/0.4521, allocations: 123.6 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.4523, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.4524, allocations: 11.86 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.4526, allocations: 55.5 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.4528, allocations: 35.94 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.4531, allocations: 163.2 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.4532, allocations: 21.11 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.074e-05/0.4533, allocations: 63.78 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.4534, allocations: 67.7 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.4535, allocations: 8 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.152e-05/0.4535, allocations: 12 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.4536, allocations: 23.91 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.152e-05/0.4536, allocations: 67.66 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.4538, allocations: 123.8 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4539, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4539, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.4539, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 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.0008086/0.4547, allocations: 458.8 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4547, allocations: 8.031 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.4548, allocations: 38.75 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.4548, allocations: 8.844 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.4551, allocations: 204.1 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.4551, allocations: 8.297 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.4551, allocations: 12.38 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.4554, allocations: 113.8 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4554, allocations: 7.938 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4555, allocations: 0 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4555, allocations: 4 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.4558, allocations: 95.86 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007494/0.4565, allocations: 480.6 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.4569, allocations: 129.2 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.4571, allocations: 65.77 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.4572, allocations: 7.938 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.4572, allocations: 30.56 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.4572, allocations: 7.938 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005872/0.4578, allocations: 177.5 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.4579, allocations: 81.05 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.458, allocations: 175.5 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.4581, allocations: 33.7 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.4581, allocations: 108.1 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.4582, allocations: 35.61 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.4583, allocations: 21.72 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4584, allocations: 326.8 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.4585, allocations: 43.97 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.4587, allocations: 53.69 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.459, allocations: 109.6 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.459, allocations: 3.938 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003491/0.4593, allocations: 141.5 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4594, allocations: 4 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4594, allocations: 384 / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4594, allocations: 4 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.4596, allocations: 31.92 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4596, allocations: 7.984 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4597, allocations: 11.94 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.4597, allocations: 0 / 1.069 GB, free: 8.617 MB / 0.8262 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.0001057/0.4598, allocations: 121.8 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.4599, allocations: 15.81 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.4603, allocations: 158.5 kB / 1.069 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4603, allocations: 0 / 1.069 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4603, allocations: 0 / 1.069 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.4603, allocations: 7.938 kB / 1.069 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.4606, allocations: 221.5 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4606, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.4608, allocations: 19.98 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.4608, allocations: 8 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4608, allocations: 0 / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4608, allocations: 3.938 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4608, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.4613, allocations: 318.6 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.4614, allocations: 96.91 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.4614, allocations: 0 / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.4616, allocations: 15.98 kB / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.4616, allocations: 7.938 kB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.4616, allocations: 0 / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001001/0.4617, allocations: 131.2 kB / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4617, allocations: 0 / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002819/0.462, allocations: 24 kB / 1.07 GB, free: 7.395 MB / 0.8262 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.0007948/0.4628, allocations: 0.8449 MB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003652/0.4632, allocations: 107.9 kB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4632, allocations: 0 / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.4634, allocations: 55.91 kB / 1.071 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.4639, allocations: 53.84 kB / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.4663, allocations: 1.814 MB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.4666, allocations: 0.7084 MB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.314e-05/0.4667, allocations: 12.64 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.4667, allocations: 39.42 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.4668, allocations: 4 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.4886, allocations: 3.593 MB / 1.077 GB, free: 188 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.264, allocations: 11.12 kB / 1.077 GB, free: 180 kB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.SetPoints.Examples.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_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches