Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001595/0.001595, allocations: 110.4 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.002003/0.002003, allocations: 219 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.532/3.532, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_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.002109/0.002109, allocations: 71.17 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4879, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003457/0.4913, allocations: 1.869 MB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003452/0.4917, allocations: 119.8 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.4918, allocations: 8 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.4919, allocations: 15.8 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.946e-05/0.492, allocations: 47.55 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.4922, allocations: 31.95 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.4924, allocations: 175.1 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.4926, allocations: 17.19 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.4927, allocations: 55.84 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.4928, allocations: 71.75 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.4928, allocations: 12 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.536e-05/0.4929, allocations: 11.94 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.4929, allocations: 27.91 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.853e-05/0.493, allocations: 63.72 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.4932, allocations: 123.5 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4932, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4932, allocations: 3.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.4932, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 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.0008498/0.494, allocations: 377.7 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4941, allocations: 8.031 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.837e-05/0.4941, allocations: 42.73 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.4942, allocations: 12.84 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.4945, allocations: 155.4 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.4945, allocations: 8.312 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.4945, allocations: 8.375 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.4948, allocations: 119.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4948, allocations: 3.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.4948, allocations: 7.984 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.4949, allocations: 4 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.4951, allocations: 87.94 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007908/0.4959, allocations: 443.8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.4963, allocations: 125.3 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.4965, allocations: 61.67 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.4965, allocations: 4.062 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.4966, allocations: 42.56 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.4966, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0005843/0.4972, allocations: 185.5 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.4972, allocations: 77.11 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.4974, allocations: 171.5 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.4974, allocations: 25.7 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.4975, allocations: 116 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.4975, allocations: 23.75 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.4976, allocations: 29.7 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.4978, allocations: 334.8 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.4979, allocations: 43.91 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.4981, allocations: 53.69 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.4983, allocations: 105.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4983, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000347/0.4987, allocations: 145.5 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4987, allocations: 8 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4987, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4987, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.4989, allocations: 27.98 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4989, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.499, allocations: 15.92 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.499, allocations: 7.938 kB / 1.331 GB, free: 12.28 MB / 1.029 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 9.925e-05/0.4991, allocations: 114.4 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.4992, allocations: 16.47 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/0.4996, allocations: 170.6 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4996, allocations: 7.875 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4996, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4996, allocations: 3.938 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.5, allocations: 188.6 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.5001, allocations: 19.98 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.5001, allocations: 7.984 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.5001, allocations: 8 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5001, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5001, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.5006, allocations: 314.6 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.5006, allocations: 11.91 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.5006, allocations: 7.984 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.5008, allocations: 12 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.5008, allocations: 7.922 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.5008, allocations: 7.938 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001138/0.501, allocations: 131.5 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.501, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002894/0.5013, allocations: 28 kB / 1.332 GB, free: 11.16 MB / 1.029 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.000777/0.502, allocations: 0.8405 MB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004192/0.5024, allocations: 99.86 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.5025, allocations: 4 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.5026, allocations: 47.97 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.5031, allocations: 52.78 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.5063, allocations: 1.827 MB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.5069, allocations: 0.7084 MB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000111/0.507, allocations: 12.64 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.57e-05/0.5071, allocations: 39.42 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of SimCode: time 1.182e-06/0.5071, allocations: 0 / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.5436, allocations: 3.794 MB / 1.339 GB, free: 3.785 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.5, allocations: 7.328 kB / 1.339 GB, free: 3.781 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur.TOut from file Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TRoo_in in file Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TRoo_in from file Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TSup in file Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TSup from file Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.20217025599959]