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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006926/0.006926, allocations: 97.62 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 198.4 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.981/2.981, allocations: 469.4 MB / 0.7422 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.84 kB / 1.064 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.002, allocations: 159.1 MB / 1.22 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004221/1.006, allocations: 1.842 MB / 1.221 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004968/1.007, allocations: 111.7 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/1.007, allocations: 4 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/1.007, allocations: 19.8 kB / 1.222 GB, free: 348 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001562/1.007, allocations: 47.55 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/1.008, allocations: 31.95 kB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003081/1.008, allocations: 175.1 kB / 1.222 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/1.008, allocations: 25.09 kB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/1.008, allocations: 55.84 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/1.008, allocations: 63.83 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/1.008, allocations: 12 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.125e-05/1.009, allocations: 8 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/1.009, allocations: 27.91 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/1.009, allocations: 63.67 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/1.009, allocations: 135.1 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.009, allocations: 0 / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.184e-06/1.009, allocations: 4 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.417e-06/1.009, allocations: 0 / 1.222 GB, free: 15.7 MB / 0.9512 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.0009686/1.01, allocations: 454.7 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/1.01, allocations: 12.62 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.187e-05/1.01, allocations: 34.75 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/1.01, allocations: 16.84 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/1.011, allocations: 208.2 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/1.011, allocations: 8.375 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/1.011, allocations: 4.375 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/1.011, allocations: 119.9 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/1.011, allocations: 3.938 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/1.011, allocations: 3.984 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/1.011, allocations: 4 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/1.011, allocations: 95.88 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/1.012, allocations: 472.7 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004256/1.013, allocations: 137.2 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/1.013, allocations: 57.78 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/1.013, allocations: 0 / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/1.013, allocations: 42.56 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/1.013, allocations: 0 / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0006862/1.014, allocations: 181.5 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/1.014, allocations: 81.05 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/1.014, allocations: 174.3 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/1.014, allocations: 25.7 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/1.014, allocations: 112.1 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/1.014, allocations: 27.73 kB / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.16e-05/1.014, allocations: 25.66 kB / 1.224 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.015, allocations: 330.8 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/1.015, allocations: 39.97 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/1.015, allocations: 57.94 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/1.015, allocations: 105.7 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.015, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003984/1.016, allocations: 145.5 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.016, allocations: 12 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.016, allocations: 0 / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.016, allocations: 0 / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/1.016, allocations: 27.92 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/1.016, allocations: 3.984 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/1.016, allocations: 19.83 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/1.016, allocations: 4 kB / 1.225 GB, free: 12.45 MB / 0.9512 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.0001294/1.016, allocations: 122.4 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/1.016, allocations: 11.95 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004827/1.017, allocations: 162.5 kB / 1.225 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.017, allocations: 0 / 1.225 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.017, allocations: 0 / 1.225 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.017, allocations: 3.938 kB / 1.225 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/1.017, allocations: 221.6 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.017, allocations: 4.188 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/1.017, allocations: 23.98 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.017, allocations: 0 / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/1.017, allocations: 8 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.017, allocations: 0 / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.017, allocations: 3.938 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/1.018, allocations: 318.8 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/1.018, allocations: 92.98 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/1.018, allocations: 3.938 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/1.018, allocations: 7.984 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/1.018, allocations: 11.94 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/1.018, allocations: 7.984 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00011/1.018, allocations: 120.2 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/1.018, allocations: 4 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003036/1.019, allocations: 32 kB / 1.226 GB, free: 11.2 MB / 0.9512 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.0009019/1.02, allocations: 0.8405 MB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003584/1.02, allocations: 103.9 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.02, allocations: 4 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/1.02, allocations: 52.14 kB / 1.227 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/1.021, allocations: 60.75 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/1.023, allocations: 1.821 MB / 1.229 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/1.024, allocations: 0.7084 MB / 1.23 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001128/1.024, allocations: 8.656 kB / 1.23 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/1.024, allocations: 35.42 kB / 1.23 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of SimCode: time 7.22e-07/1.024, allocations: 0 / 1.23 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/1.049, allocations: 3.654 MB / 1.233 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.879, allocations: 3.547 kB / 1.233 GB, free: 3.965 MB / 0.9512 GB (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 50 --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) 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) Reference file matches