Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_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.001204/0.001204, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001233/0.001234, allocations: 195.5 kB / 16.25 MB, free: 6.633 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.208/1.208, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.283/2.283, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 71.83 kB / 0.8688 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4957, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002454/0.4982, allocations: 1.896 MB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002428/0.4984, allocations: 111.6 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.375e-05/0.4985, allocations: 4 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.196e-05/0.4986, allocations: 11.86 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.4987, allocations: 43.61 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001077/0.4988, allocations: 35.97 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.499, allocations: 167.1 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.4991, allocations: 29.09 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.639e-05/0.4992, allocations: 51.78 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.4993, allocations: 67.77 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.4993, allocations: 8 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.215e-05/0.4993, allocations: 16 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.4994, allocations: 27.89 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.4994, allocations: 63.67 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.4995, allocations: 129.8 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4996, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4996, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.4996, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 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.0006697/0.5002, allocations: 450.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.5003, allocations: 12.03 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.5003, allocations: 38.69 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.5004, allocations: 16.75 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.5005, allocations: 204 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.5006, allocations: 8.359 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.5006, allocations: 8.375 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.5008, allocations: 118.2 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5008, allocations: 7.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.5009, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.5009, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.5011, allocations: 95.91 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.5017, allocations: 484.5 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.5021, allocations: 125.2 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.5022, allocations: 65.78 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.5022, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.5023, allocations: 34.56 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.5023, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004885/0.5028, allocations: 185.4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.5028, allocations: 77.11 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.5029, allocations: 166.9 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.503, allocations: 29.7 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.503, allocations: 108 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.503, allocations: 35.61 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.5031, allocations: 25.72 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.5032, allocations: 330.8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.5033, allocations: 39.97 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.5034, allocations: 61.62 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.5037, allocations: 105.7 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5037, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003043/0.504, allocations: 149.6 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.504, allocations: 11.94 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.504, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5041, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.5042, allocations: 19.98 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-06/0.5042, allocations: 4 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.5043, allocations: 19.86 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.5043, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 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 7.498e-05/0.5044, allocations: 127.8 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.5045, allocations: 15.81 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.5048, allocations: 154.7 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5049, allocations: 8.031 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5049, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5049, allocations: 3.938 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.5051, allocations: 221.6 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5051, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.5053, allocations: 19.98 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5053, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.5053, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5053, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5053, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.5056, allocations: 314.5 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.5057, allocations: 89.28 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.5057, allocations: 4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.5059, allocations: 11.98 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.5059, allocations: 11.88 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.5059, allocations: 4.188 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.025e-05/0.506, allocations: 129.2 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.506, allocations: 0 / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002646/0.5063, allocations: 35.94 kB / 1.024 GB, free: 11.56 MB / 0.7794 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.0005327/0.5068, allocations: 0.8482 MB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.5071, allocations: 103.9 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5071, allocations: 0 / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.5073, allocations: 55.97 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.5077, allocations: 39.89 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.5095, allocations: 1.853 MB / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.5097, allocations: 0.7122 MB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.829e-05/0.5098, allocations: 12.64 kB / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.5099, allocations: 39.42 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5099, allocations: 0 / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.008/1.518, allocations: 3.437 MB / 1.03 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/1.518, allocations: 221.9 kB / 1.031 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/3.262, allocations: 0 / 1.031 GB, free: 4.273 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches