Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007876/0.0007876, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9011/0.9011, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.743/1.743, allocations: 377.9 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.637e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002503/0.002529, allocations: 1.938 MB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.004433, allocations: 1.571 MB / 0.9844 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.00464, allocations: 8 kB / 0.9844 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.004743, allocations: 59.2 kB / 0.9844 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.004973, allocations: 103 kB / 0.9845 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.005632, allocations: 308.4 kB / 0.9848 GB, free: 14.63 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005408/0.006173, allocations: 0.6525 MB / 0.9855 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003641/0.006537, allocations: 246.4 kB / 0.9857 GB, free: 13.72 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.006887, allocations: 363.3 kB / 0.986 GB, free: 13.37 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.00707, allocations: 183.4 kB / 0.9862 GB, free: 13.19 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.007129, allocations: 68 kB / 0.9863 GB, free: 13.12 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.007246, allocations: 95.92 kB / 0.9864 GB, free: 13.03 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.217e-05/0.007328, allocations: 135.5 kB / 0.9865 GB, free: 12.89 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.00747, allocations: 203.5 kB / 0.9867 GB, free: 12.7 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006033/0.008073, allocations: 0.8293 MB / 0.9875 GB, free: 11.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.008078, allocations: 4 kB / 0.9875 GB, free: 11.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.00808, allocations: 0 / 0.9875 GB, free: 11.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.008089, allocations: 0 / 0.9875 GB, free: 11.86 MB / 0.948 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.00103/0.009119, allocations: 0.755 MB / 0.9882 GB, free: 11.07 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.009167, allocations: 8.031 kB / 0.9882 GB, free: 11.06 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.271e-05/0.00925, allocations: 98.64 kB / 0.9883 GB, free: 10.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.009462, allocations: 72.55 kB / 0.9884 GB, free: 10.88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.009844, allocations: 297.7 kB / 0.9887 GB, free: 10.56 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.009875, allocations: 45.69 kB / 0.9887 GB, free: 10.52 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.009924, allocations: 56.38 kB / 0.9888 GB, free: 10.46 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006592/0.01058, allocations: 0.5033 MB / 0.9893 GB, free: 9.953 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.0106, allocations: 192 / 0.9893 GB, free: 9.953 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.01062, allocations: 28.31 kB / 0.9893 GB, free: 9.926 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.01064, allocations: 20.11 kB / 0.9893 GB, free: 9.906 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.01107, allocations: 353.1 kB / 0.9897 GB, free: 9.562 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.01247, allocations: 1.252 MB / 0.9909 GB, free: 8.258 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.01286, allocations: 269.4 kB / 0.9911 GB, free: 7.977 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.01311, allocations: 165.5 kB / 0.9913 GB, free: 7.809 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.01314, allocations: 11.94 kB / 0.9913 GB, free: 7.797 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.01345, allocations: 200 kB / 0.9915 GB, free: 7.582 MB / 0.948 GB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.01345, allocations: 4 kB / 0.9915 GB, free: 7.578 MB / 0.948 GB Notification: Performance of matching and sorting (n=34): time 0.0005449/0.014, allocations: 391.9 kB / 0.9919 GB, free: 7.191 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.01405, allocations: 85.11 kB / 0.992 GB, free: 7.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.01437, allocations: 413.6 kB / 0.9924 GB, free: 6.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.01439, allocations: 29.7 kB / 0.9924 GB, free: 6.645 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.01453, allocations: 276.4 kB / 0.9927 GB, free: 6.371 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.01459, allocations: 123 kB / 0.9928 GB, free: 6.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.01468, allocations: 78.19 kB / 0.9928 GB, free: 6.168 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.01478, allocations: 350.8 kB / 0.9932 GB, free: 5.816 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.01499, allocations: 166.6 kB / 0.9933 GB, free: 5.648 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.01521, allocations: 237.4 kB / 0.9936 GB, free: 5.387 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.01557, allocations: 338.4 kB / 0.9939 GB, free: 5.027 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.01558, allocations: 7.938 kB / 0.9939 GB, free: 5.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005525/0.01613, allocations: 0.502 MB / 0.9944 GB, free: 4.504 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/0.01633, allocations: 37.7 kB / 0.9944 GB, free: 4.461 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01634, allocations: 0 / 0.9944 GB, free: 4.461 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.01635, allocations: 4 kB / 0.9944 GB, free: 4.457 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.01653, allocations: 83.83 kB / 0.9945 GB, free: 4.375 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.01654, allocations: 4 kB / 0.9945 GB, free: 4.371 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.01673, allocations: 83.52 kB / 0.9946 GB, free: 4.289 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.01675, allocations: 19.94 kB / 0.9946 GB, free: 4.27 MB / 0.948 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.0001424/0.01689, allocations: 169.8 kB / 0.9948 GB, free: 4.094 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.01693, allocations: 43.72 kB / 0.9948 GB, free: 4.051 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.01736, allocations: 335.8 kB / 0.9951 GB, free: 3.711 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.01737, allocations: 4 kB / 0.9951 GB, free: 3.707 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.01737, allocations: 3.984 kB / 0.9951 GB, free: 3.703 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01738, allocations: 0 / 0.9951 GB, free: 3.703 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008088/0.01819, allocations: 0.8909 MB / 0.996 GB, free: 2.746 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01819, allocations: 0 / 0.996 GB, free: 2.746 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.01831, allocations: 67.84 kB / 0.9961 GB, free: 2.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.01832, allocations: 7.938 kB / 0.9961 GB, free: 2.672 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.01833, allocations: 11.98 kB / 0.9961 GB, free: 2.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01833, allocations: 4 kB / 0.9961 GB, free: 2.656 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.01834, allocations: 7.938 kB / 0.9961 GB, free: 2.648 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.01874, allocations: 0.5096 MB / 0.9966 GB, free: 2.102 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.01879, allocations: 59.56 kB / 0.9967 GB, free: 2.043 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.01882, allocations: 8 kB / 0.9967 GB, free: 2.035 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.01893, allocations: 11.98 kB / 0.9967 GB, free: 2.023 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.01899, allocations: 27.91 kB / 0.9967 GB, free: 1.996 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.019, allocations: 11.98 kB / 0.9967 GB, free: 1.984 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002098/0.01921, allocations: 287.2 kB / 0.997 GB, free: 1.711 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01921, allocations: 0 / 0.997 GB, free: 1.711 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003301/0.01954, allocations: 115.7 kB / 0.9971 GB, free: 1.598 MB / 0.948 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.0006738/0.02021, allocations: 1.068 MB / 0.9981 GB, free: 496 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004561/0.02067, allocations: 389 kB / 0.9985 GB, free: 88 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02067, allocations: 4.125 kB / 0.9985 GB, free: 84 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.02084, allocations: 119.8 kB / 0.9986 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.02123, allocations: 68.06 kB / 0.9987 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.0248, allocations: 3.914 MB / 1.003 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.02495, allocations: 220.8 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.02511, allocations: 43.27 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.02527, allocations: 156.5 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of SimCode: time 1.222e-06/0.02527, allocations: 3.938 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.0485, allocations: 8.132 MB / 1.011 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/6.95, allocations: 2.812 kB / 1.011 GB, free: 3.457 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable heaCur.TOut in file Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur.TOut from file Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TSetZon in file Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TSetZon from file Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TSup in file Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TSup from file Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.21525148767978]