Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.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.001391/0.001391, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001701/0.001701, allocations: 212.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.93/2.93, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 65.09 kB / 1.117 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.342, allocations: 169.9 MB / 1.283 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003123/0.3451, allocations: 1.785 MB / 1.284 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003069/0.3454, allocations: 113.2 kB / 1.284 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.3455, allocations: 4 kB / 1.284 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.3456, allocations: 19.78 kB / 1.284 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3457, allocations: 51.56 kB / 1.284 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.3459, allocations: 31.95 kB / 1.284 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.3461, allocations: 175.1 kB / 1.285 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3462, allocations: 17.23 kB / 1.285 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.625e-05/0.3463, allocations: 59.78 kB / 1.285 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.3464, allocations: 67.75 kB / 1.285 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.3465, allocations: 12 kB / 1.285 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.916e-05/0.3465, allocations: 8 kB / 1.285 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.3465, allocations: 23.86 kB / 1.285 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.93e-05/0.3466, allocations: 51.8 kB / 1.285 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.3468, allocations: 127.5 kB / 1.285 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3468, allocations: 0 / 1.285 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3468, allocations: 3.938 kB / 1.285 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3468, allocations: 0 / 1.285 GB, free: 1.711 MB / 0.9825 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.0007806/0.3476, allocations: 381.7 kB / 1.285 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3476, allocations: 12.03 kB / 1.285 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.3476, allocations: 34.75 kB / 1.285 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.3477, allocations: 16.84 kB / 1.285 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.3479, allocations: 143.7 kB / 1.286 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.348, allocations: 8.375 kB / 1.286 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.348, allocations: 4.375 kB / 1.286 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.3483, allocations: 131.8 kB / 1.286 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3483, allocations: 7.938 kB / 1.286 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3483, allocations: 0 / 1.286 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3483, allocations: 4 kB / 1.286 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.3486, allocations: 91.92 kB / 1.286 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.3494, allocations: 427.8 kB / 1.286 GB, free: 360 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.3498, allocations: 125.2 kB / 1.286 GB, free: 216 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.3499, allocations: 61.72 kB / 1.286 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3499, allocations: 0 / 1.286 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.35, allocations: 34.56 kB / 1.286 GB, free: 104 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.35, allocations: 0 / 1.286 GB, free: 104 kB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005996/0.3506, allocations: 185.5 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.3506, allocations: 81.09 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.3508, allocations: 168.1 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3508, allocations: 33.7 kB / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.3509, allocations: 108 kB / 1.287 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3509, allocations: 35.67 kB / 1.287 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.351, allocations: 21.72 kB / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3511, allocations: 326.8 kB / 1.287 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3513, allocations: 51.91 kB / 1.287 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.3514, allocations: 61.69 kB / 1.287 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.3517, allocations: 101.9 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3517, allocations: 0 / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003683/0.3521, allocations: 145.5 kB / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3521, allocations: 8 kB / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3521, allocations: 4 kB / 1.288 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3521, allocations: 0 / 1.288 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.3523, allocations: 23.98 kB / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3523, allocations: 0 / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.3524, allocations: 15.92 kB / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3524, allocations: 7.938 kB / 1.288 GB, free: 14.68 MB / 0.9981 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.0001017/0.3525, allocations: 117.8 kB / 1.288 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.3526, allocations: 19.89 kB / 1.288 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004235/0.353, allocations: 154.6 kB / 1.288 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.353, allocations: 4 kB / 1.288 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.353, allocations: 0 / 1.288 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.353, allocations: 3.938 kB / 1.288 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.3533, allocations: 180.7 kB / 1.288 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3533, allocations: 0 / 1.288 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.3534, allocations: 23.97 kB / 1.288 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3534, allocations: 4 kB / 1.288 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3535, allocations: 4 kB / 1.288 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3535, allocations: 192 / 1.288 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3535, allocations: 7.938 kB / 1.288 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.3539, allocations: 314.8 kB / 1.289 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.3539, allocations: 15.89 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.3539, allocations: 4.266 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3541, allocations: 12 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.3542, allocations: 15.92 kB / 1.289 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3542, allocations: 7.875 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001098/0.3543, allocations: 131.2 kB / 1.289 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3543, allocations: 0 / 1.289 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002911/0.3546, allocations: 28 kB / 1.289 GB, free: 13.57 MB / 0.9981 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.0007509/0.3553, allocations: 0.8327 MB / 1.29 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.3557, allocations: 107.9 kB / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3557, allocations: 0 / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3558, allocations: 47.97 kB / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.3563, allocations: 48.27 kB / 1.29 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.3586, allocations: 1.835 MB / 1.292 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.845e-05/0.3587, allocations: 101.4 kB / 1.292 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.572e-05/0.3588, allocations: 12.64 kB / 1.292 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.3589, allocations: 35.42 kB / 1.292 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.3589, allocations: 0 / 1.292 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.3909, allocations: 4.486 MB / 1.296 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.79, allocations: 10.47 kB / 1.296 GB, free: 6.137 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.SetPoints.Examples.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_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable heaCur.TOut in file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur.TOut from file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TRoo_in in file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TRoo_in from file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TSup in file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TSup from file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.981376437004656]