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.001754/0.001754, allocations: 104.7 kB / 16.45 MB, free: 6.453 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.002098/0.002098, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.524/1.524, allocations: 230.6 MB / 252.8 MB, free: 8.945 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 3.002/3.002, allocations: 476.7 MB / 0.7672 GB, free: 5.227 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.002428/0.002428, allocations: 75.89 kB / 1.112 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332/1.334, allocations: 169.9 MB / 1.278 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003413/1.338, allocations: 1.846 MB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000321/1.338, allocations: 123.6 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/1.338, allocations: 3.938 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/1.338, allocations: 15.86 kB / 1.28 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.943e-05/1.338, allocations: 51.5 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/1.339, allocations: 39.94 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/1.339, allocations: 163.2 kB / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/1.339, allocations: 22.94 kB / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/1.339, allocations: 51.8 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/1.339, allocations: 67.75 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/1.339, allocations: 12 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.924e-05/1.339, allocations: 11.94 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/1.339, allocations: 27.91 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.799e-05/1.339, allocations: 67.66 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/1.34, allocations: 127.4 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.34, allocations: 0 / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/1.34, allocations: 4 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.34, allocations: 0 / 1.281 GB, free: 10.81 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.000857/1.34, allocations: 450.8 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.34, allocations: 12.03 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/1.34, allocations: 34.75 kB / 1.281 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/1.341, allocations: 16.84 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/1.341, allocations: 209.9 kB / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/1.341, allocations: 4.375 kB / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/1.341, allocations: 12.36 kB / 1.281 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/1.341, allocations: 118.3 kB / 1.282 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.341, allocations: 7.875 kB / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/1.341, allocations: 4 kB / 1.282 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/1.341, allocations: 4 kB / 1.282 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/1.342, allocations: 99.84 kB / 1.282 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007814/1.342, allocations: 472.8 kB / 1.282 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/1.343, allocations: 121.3 kB / 1.282 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/1.343, allocations: 63.36 kB / 1.282 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/1.343, allocations: 3.938 kB / 1.282 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.343, allocations: 42.5 kB / 1.282 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/1.343, allocations: 0 / 1.282 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006459/1.344, allocations: 181.5 kB / 1.283 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/1.344, allocations: 85.11 kB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/1.344, allocations: 175.6 kB / 1.283 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/1.344, allocations: 25.7 kB / 1.283 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/1.344, allocations: 108.1 kB / 1.283 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/1.344, allocations: 31.81 kB / 1.283 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/1.344, allocations: 25.7 kB / 1.283 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.344, allocations: 322.8 kB / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/1.344, allocations: 43.97 kB / 1.283 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/1.345, allocations: 61.69 kB / 1.283 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/1.345, allocations: 105.6 kB / 1.284 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.345, allocations: 0 / 1.284 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003809/1.345, allocations: 145.5 kB / 1.284 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.345, allocations: 10.19 kB / 1.284 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.345, allocations: 4 kB / 1.284 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.345, allocations: 0 / 1.284 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/1.345, allocations: 19.98 kB / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/1.345, allocations: 0 / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/1.346, allocations: 19.86 kB / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/1.346, allocations: 8 kB / 1.284 GB, free: 7.559 MB / 0.9825 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.0001231/1.346, allocations: 117.8 kB / 1.284 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/1.346, allocations: 15.91 kB / 1.284 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/1.346, allocations: 154.9 kB / 1.284 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.346, allocations: 4 kB / 1.284 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.346, allocations: 64 / 1.284 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/1.346, allocations: 8.125 kB / 1.284 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/1.347, allocations: 217.6 kB / 1.284 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.347, allocations: 7.938 kB / 1.284 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/1.347, allocations: 27.91 kB / 1.284 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.347, allocations: 0 / 1.284 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/1.347, allocations: 0 / 1.284 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.347, allocations: 4 kB / 1.284 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.347, allocations: 240 / 1.284 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/1.347, allocations: 322.5 kB / 1.285 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/1.347, allocations: 96.95 kB / 1.285 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/1.347, allocations: 7.984 kB / 1.285 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/1.348, allocations: 4 kB / 1.285 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/1.348, allocations: 15.92 kB / 1.285 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/1.348, allocations: 0 / 1.285 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000115/1.348, allocations: 123.2 kB / 1.285 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/1.348, allocations: 4 kB / 1.285 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002975/1.348, allocations: 28 kB / 1.285 GB, free: 6.316 MB / 0.9825 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.0008203/1.349, allocations: 0.8371 MB / 1.286 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003884/1.349, allocations: 111.9 kB / 1.286 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.349, allocations: 0 / 1.286 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/1.349, allocations: 51.91 kB / 1.286 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/1.35, allocations: 48.42 kB / 1.286 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/1.352, allocations: 1.821 MB / 1.288 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/1.353, allocations: 0.7083 MB / 1.288 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.916e-05/1.353, allocations: 20.58 kB / 1.288 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/1.353, allocations: 35.42 kB / 1.288 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/1.353, allocations: 0 / 1.288 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/1.384, allocations: 3.658 MB / 1.292 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.367/9.751, allocations: 6.359 kB / 1.292 GB, free: 15.07 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.657477781176567]