Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001849/0.001849, allocations: 108.9 kB / 16.46 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.00191/0.00191, allocations: 216.2 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.543/1.543, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.476/3.476, allocations: 0.505 GB / 0.8066 GB, free: 23.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_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.00218/0.00218, allocations: 63.83 kB / 1.172 GB, free: 17.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.4941, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004012/0.4981, allocations: 1.848 MB / 1.35 GB, free: 8.145 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003475/0.4984, allocations: 111.9 kB / 1.35 GB, free: 8.035 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.4985, allocations: 7.938 kB / 1.35 GB, free: 8.027 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.4987, allocations: 15.84 kB / 1.35 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.898e-05/0.4988, allocations: 51.5 kB / 1.35 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.4989, allocations: 31.95 kB / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.4992, allocations: 179.1 kB / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.4993, allocations: 17.05 kB / 1.35 GB, free: 7.734 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.4994, allocations: 59.78 kB / 1.35 GB, free: 7.676 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.4995, allocations: 67.75 kB / 1.35 GB, free: 7.609 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.4996, allocations: 12 kB / 1.35 GB, free: 7.598 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.718e-05/0.4996, allocations: 8 kB / 1.35 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.4997, allocations: 23.92 kB / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.927e-05/0.4998, allocations: 71.59 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.5, allocations: 123.5 kB / 1.35 GB, free: 7.375 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5, allocations: 0 / 1.35 GB, free: 7.375 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5, allocations: 0 / 1.35 GB, free: 7.375 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.5, allocations: 0 / 1.35 GB, free: 7.375 MB / 1.045 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.0008682/0.5009, allocations: 454.8 kB / 1.351 GB, free: 6.879 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.5009, allocations: 15.98 kB / 1.351 GB, free: 6.863 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.773e-05/0.501, allocations: 38.73 kB / 1.351 GB, free: 6.816 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.501, allocations: 16.84 kB / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.5014, allocations: 208.1 kB / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.5014, allocations: 8.375 kB / 1.351 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.5014, allocations: 8.375 kB / 1.351 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.5017, allocations: 123.8 kB / 1.351 GB, free: 6.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5017, allocations: 3.938 kB / 1.351 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.5018, allocations: 0 / 1.351 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5018, allocations: 0 / 1.351 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.5021, allocations: 99.86 kB / 1.351 GB, free: 6.309 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/0.5029, allocations: 468.8 kB / 1.352 GB, free: 5.797 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.5033, allocations: 125.2 kB / 1.352 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.5035, allocations: 65.72 kB / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.5035, allocations: 0 / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.5035, allocations: 38.48 kB / 1.352 GB, free: 5.539 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.5035, allocations: 4 kB / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006233/0.5042, allocations: 177.5 kB / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.5042, allocations: 85.05 kB / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.5044, allocations: 162.4 kB / 1.352 GB, free: 5.086 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.5044, allocations: 29.7 kB / 1.352 GB, free: 5.051 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.818e-05/0.5045, allocations: 108 kB / 1.352 GB, free: 4.941 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.5046, allocations: 31.73 kB / 1.352 GB, free: 4.91 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.5046, allocations: 25.72 kB / 1.352 GB, free: 4.879 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002444/0.5049, allocations: 330.8 kB / 1.353 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.505, allocations: 47.89 kB / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.5052, allocations: 57.69 kB / 1.353 GB, free: 4.438 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.5055, allocations: 101.6 kB / 1.353 GB, free: 4.332 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5055, allocations: 4 kB / 1.353 GB, free: 4.328 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00039/0.5059, allocations: 145.8 kB / 1.353 GB, free: 4.18 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5059, allocations: 7.984 kB / 1.353 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5059, allocations: 4 kB / 1.353 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.506, allocations: 0 / 1.353 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.5061, allocations: 23.92 kB / 1.353 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.5061, allocations: 4 kB / 1.353 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.5062, allocations: 19.88 kB / 1.353 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.5063, allocations: 4 kB / 1.353 GB, free: 4.117 MB / 1.045 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.0001257/0.5064, allocations: 117.8 kB / 1.353 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.5064, allocations: 11.95 kB / 1.353 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.5069, allocations: 154.5 kB / 1.353 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.5069, allocations: 8 kB / 1.353 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5069, allocations: 0 / 1.353 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.5069, allocations: 3.938 kB / 1.353 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.5073, allocations: 229.5 kB / 1.354 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5073, allocations: 0 / 1.354 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.5074, allocations: 23.92 kB / 1.354 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5074, allocations: 0 / 1.354 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.5074, allocations: 0 / 1.354 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5074, allocations: 4 kB / 1.354 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5074, allocations: 3.938 kB / 1.354 GB, free: 3.504 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.5079, allocations: 314.6 kB / 1.354 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.973e-05/0.508, allocations: 89.02 kB / 1.354 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.508, allocations: 8 kB / 1.354 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.5082, allocations: 7.984 kB / 1.354 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.5082, allocations: 15.92 kB / 1.354 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.5083, allocations: 4.469 kB / 1.354 GB, free: 3.039 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001368/0.5084, allocations: 128.2 kB / 1.354 GB, free: 2.914 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5084, allocations: 0 / 1.354 GB, free: 2.914 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003077/0.5087, allocations: 31.94 kB / 1.354 GB, free: 2.883 MB / 1.045 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.0009102/0.5096, allocations: 0.8447 MB / 1.355 GB, free: 2.008 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003814/0.51, allocations: 103.9 kB / 1.355 GB, free: 1.906 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.51, allocations: 4 kB / 1.355 GB, free: 1.902 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.5102, allocations: 55.89 kB / 1.355 GB, free: 1.848 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.5106, allocations: 37.8 kB / 1.355 GB, free: 1.812 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.5133, allocations: 1.829 MB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.5136, allocations: 0.7084 MB / 1.358 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.469e-05/0.5137, allocations: 12.59 kB / 1.358 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/0.5138, allocations: 35.42 kB / 1.358 GB, free: 15.11 MB / 1.061 GB Notification: Performance of SimCode: time 9.82e-07/0.5138, allocations: 0 / 1.358 GB, free: 15.11 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.5437, allocations: 3.686 MB / 1.361 GB, free: 11.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/9.052, allocations: 4.594 kB / 1.361 GB, free: 11.62 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur.TOut from file Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TRoo_in in file Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TRoo_in from file Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TSup in file Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TSup from file Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.652265168959275]