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.002171/0.002171, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002499/0.002499, allocations: 218.8 kB / 22.26 MB, free: 5.125 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.585/1.585, allocations: 230.6 MB / 256 MB, free: 7.984 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.093/3.093, allocations: 476.7 MB / 0.7707 GB, free: 4.281 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.002166/0.002166, allocations: 68.06 kB / 1.117 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3943, allocations: 170 MB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00412/0.3984, allocations: 1.852 MB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003564/0.3987, allocations: 125.4 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.3989, allocations: 0 / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.399, allocations: 23.78 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.3991, allocations: 43.58 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.3993, allocations: 39.94 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.3996, allocations: 171.1 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3997, allocations: 24.75 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3998, allocations: 55.84 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.4, allocations: 67.69 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.4, allocations: 8 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.811e-05/0.4, allocations: 12 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.4001, allocations: 19.92 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.4001, allocations: 59.73 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.4003, allocations: 131.4 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4003, allocations: 4 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4004, allocations: 3.938 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.4004, allocations: 0 / 1.286 GB, free: 8.977 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.0008484/0.4012, allocations: 383.5 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4013, allocations: 8.031 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.4013, allocations: 38.75 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.4013, allocations: 24.78 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.4016, allocations: 146.3 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4016, allocations: 4.375 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.4017, allocations: 8.375 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.402, allocations: 115.8 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.402, allocations: 3.938 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.402, allocations: 8 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.402, allocations: 4 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.4023, allocations: 95.86 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008179/0.4031, allocations: 443.8 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.4035, allocations: 125.2 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.4037, allocations: 53.78 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.4037, allocations: 7.984 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.4037, allocations: 34.56 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.4037, allocations: 0 / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005887/0.4043, allocations: 181.5 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.4044, allocations: 77.11 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.4046, allocations: 184 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.4046, allocations: 29.7 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.4047, allocations: 108.1 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.4047, allocations: 27.75 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.4048, allocations: 21.7 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.405, allocations: 326.8 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.4051, allocations: 43.97 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.4053, allocations: 57.94 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.4056, allocations: 105.7 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4056, allocations: 3.938 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003691/0.406, allocations: 149.5 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.406, allocations: 4 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.406, allocations: 0 / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.406, allocations: 4.188 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.4062, allocations: 23.92 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.4062, allocations: 3.938 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.4063, allocations: 15.92 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.4063, allocations: 192 / 1.289 GB, free: 5.934 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.0001439/0.4065, allocations: 129.8 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.4065, allocations: 15.84 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.407, allocations: 162.6 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.407, allocations: 0 / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.407, allocations: 0 / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.407, allocations: 7.938 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.4073, allocations: 188.7 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4073, allocations: 8.188 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.4075, allocations: 23.98 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4075, allocations: 0 / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4075, allocations: 0 / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.4075, allocations: 3.984 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.4075, allocations: 7.938 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.408, allocations: 310.6 kB / 1.289 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.408, allocations: 15.84 kB / 1.289 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.408, allocations: 8 kB / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.4082, allocations: 7.984 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.4083, allocations: 11.92 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.4083, allocations: 4 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000118/0.4084, allocations: 123.2 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4084, allocations: 4 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000292/0.4087, allocations: 28 kB / 1.29 GB, free: 4.816 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.000849/0.4095, allocations: 0.8444 MB / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.4099, allocations: 104 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4099, allocations: 0 / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.4101, allocations: 59.84 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.4105, allocations: 42.47 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.4131, allocations: 1.84 MB / 1.292 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.4135, allocations: 0.7044 MB / 1.293 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.212e-05/0.4136, allocations: 16.78 kB / 1.293 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.4137, allocations: 39.41 kB / 1.293 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of SimCode: time 8.51e-07/0.4137, allocations: 0 / 1.293 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/0.4474, allocations: 3.788 MB / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.88, allocations: 4.875 kB / 1.297 GB, free: 13.42 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.5730755769182]