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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.223 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.48/2.48, allocations: 476.7 MB / 0.7628 GB, free: 15.31 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 67.89 kB / 1.107 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.724/0.7258, allocations: 168.7 MB / 1.271 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00249/0.7283, allocations: 1.842 MB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002547/0.7285, allocations: 123.5 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.753e-05/0.7286, allocations: 1.75 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.6e-05/0.7287, allocations: 16.69 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.603e-05/0.7288, allocations: 45.12 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.7289, allocations: 36.59 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.7291, allocations: 176.5 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.7292, allocations: 16.16 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.04e-05/0.7293, allocations: 53.5 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.7294, allocations: 67.52 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.7295, allocations: 9.406 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.882e-05/0.7295, allocations: 9.781 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.7295, allocations: 24.8 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.009e-05/0.7296, allocations: 75.06 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.7297, allocations: 137.3 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7297, allocations: 0 / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7297, allocations: 0 / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7297, allocations: 0.8125 kB / 1.274 GB, free: 6.078 MB / 0.9981 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.0006233/0.7304, allocations: 450.9 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.7304, allocations: 12.62 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.602e-05/0.7304, allocations: 40.91 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.7305, allocations: 15.28 kB / 1.274 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.7306, allocations: 199.9 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.7306, allocations: 7.469 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.7307, allocations: 8.469 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.7309, allocations: 117.5 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.7309, allocations: 3.938 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.7309, allocations: 4.938 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.7309, allocations: 2.5 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.7312, allocations: 96.7 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.7317, allocations: 476.2 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.7321, allocations: 121.5 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.7322, allocations: 59.47 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.7322, allocations: 10.33 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/0.7323, allocations: 35.69 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.7323, allocations: 0.875 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0005351/0.7328, allocations: 179.3 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.7328, allocations: 85.89 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.7329, allocations: 170.4 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.7329, allocations: 25.7 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.733, allocations: 109.1 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.733, allocations: 38.48 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.7331, allocations: 27.78 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.311e-05/0.7331, allocations: 325.8 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.7332, allocations: 44.3 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.7334, allocations: 56.23 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.7336, allocations: 104.4 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.7336, allocations: 1.188 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003245/0.734, allocations: 142.5 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.734, allocations: 9 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.734, allocations: 2.109 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.734, allocations: 1.688 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.7341, allocations: 28.08 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.7341, allocations: 2.688 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.7342, allocations: 21.61 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.7343, allocations: 3.094 kB / 1.277 GB, free: 3.73 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 5.346e-05/0.7343, allocations: 121.9 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.7344, allocations: 15.25 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.7347, allocations: 159.4 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.7347, allocations: 1.906 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.7348, allocations: 0.875 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.7348, allocations: 10.19 kB / 1.277 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.735, allocations: 213.6 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.735, allocations: 0 / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.7351, allocations: 23.44 kB / 1.277 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7351, allocations: 1.922 kB / 1.277 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.7351, allocations: 1.75 kB / 1.277 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.7351, allocations: 4.688 kB / 1.277 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7351, allocations: 0.5312 kB / 1.277 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.7355, allocations: 318.4 kB / 1.278 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.7355, allocations: 90.53 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.7355, allocations: 5.812 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.7357, allocations: 8.719 kB / 1.278 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.7357, allocations: 13.39 kB / 1.278 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.7357, allocations: 1.938 kB / 1.278 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.129e-05/0.7358, allocations: 129.7 kB / 1.278 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7358, allocations: 0 / 1.278 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002691/0.7361, allocations: 29.61 kB / 1.278 GB, free: 2.832 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.0004619/0.7365, allocations: 0.8434 MB / 1.279 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003163/0.7368, allocations: 102.4 kB / 1.279 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7368, allocations: 0 / 1.279 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.737, allocations: 54.03 kB / 1.279 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.7374, allocations: 52.59 kB / 1.279 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.7392, allocations: 1.827 MB / 1.281 GB, free: 16.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.7395, allocations: 0.7065 MB / 1.281 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.29e-05/0.7396, allocations: 17.61 kB / 1.281 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.7397, allocations: 33.11 kB / 1.281 GB, free: 15.78 MB / 1.014 GB Notification: Performance of SimCode: time 4.7e-07/0.7397, allocations: 0 / 1.281 GB, free: 15.78 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.7656, allocations: 3.644 MB / 1.285 GB, free: 15.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.872, allocations: 7.312 kB / 1.285 GB, free: 15.27 MB / 1.014 GB " [Timeout remaining time 292] (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 --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] "" Variables in the reference:time,heaCur.TSup,heaCur.TRet,heaCur.TOut,heaCur1.TRoo_in,heaCur1.TSup,heaCur1.TRet Variables in the result:TOut.duration,TOut.height,TOut.offset,TOut.startTime,TOut.y,TOut2.k,TOut2.y,TRoo.height,TRoo.offset,TRoo.startTime,TRoo.y,heaCur.TOut,heaCur.TOut_nominal,heaCur.TRet,heaCur.TRet_nominal,heaCur.TRoo,heaCur.TRoo_nominal,heaCur.TSup,heaCur.TSup_nominal,heaCur.dTOutHeaBal,heaCur.m,heaCur.use_TRoo_in,heaCur1.TOut,heaCur1.TOut_nominal,heaCur1.TRet,heaCur1.TRet_nominal,heaCur1.TRoo,heaCur1.TRoo_in,heaCur1.TRoo_nominal,heaCur1.TSup,heaCur1.TSup_nominal,heaCur1.dTOutHeaBal,heaCur1.m,heaCur1.use_TRoo_in,time [Calling sys.exit(0), Time elapsed: 13.05971216800026]