Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 249.3 MB / 261.8 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 184.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008951/0.000895, allocations: 94.45 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.777e-05/3.779e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2109, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6126/0.8235, allocations: 132.2 MB / 1.021 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.8238, allocations: 84 kB / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004948/0.8288, allocations: 1.875 MB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8288, allocations: 3.938 kB / 1.023 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.8288, allocations: 4 kB / 1.023 GB, free: 0.8164 MB / 0.6355 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.0005094/0.8293, allocations: 412.8 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.8294, allocations: 8.031 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.8294, allocations: 15.81 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.8296, allocations: 206.2 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.8296, allocations: 4 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.8297, allocations: 7.875 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.8298, allocations: 92.94 kB / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.8299, allocations: 0 / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.8299, allocations: 15.88 kB / 1.024 GB, free: 16 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8299, allocations: 0 / 1.024 GB, free: 16 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.83, allocations: 57.8 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006802/0.8307, allocations: 484.4 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.831, allocations: 109.3 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.12e-05/0.8311, allocations: 44.09 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.8312, allocations: 10.75 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.8312, allocations: 38.38 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.8312, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002663/0.8315, allocations: 106.7 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.8315, allocations: 77.11 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.8317, allocations: 149 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.8317, allocations: 29.7 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.8318, allocations: 107.7 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.8318, allocations: 30.62 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.8318, allocations: 3.125 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8319, allocations: 326.3 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.832, allocations: 21.69 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-05/0.8321, allocations: 47.2 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.719e-05/0.8321, allocations: 33.31 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8321, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001757/0.8323, allocations: 104.9 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.8324, allocations: 8 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.8324, allocations: 3.984 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.8324, allocations: 7.953 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.8326, allocations: 28.11 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.8326, allocations: 4 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.8327, allocations: 19.83 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.8327, allocations: 4 kB / 1.025 GB, free: 14.28 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.8328, allocations: 112.8 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.8329, allocations: 19.75 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.8331, allocations: 121.5 kB / 1.026 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.8331, allocations: 7.984 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8331, allocations: 3.953 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.8332, allocations: 4.078 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.8334, allocations: 215.2 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8334, allocations: 0 / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.8336, allocations: 27.98 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8336, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.8336, allocations: 3.812 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.8336, allocations: 7.938 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8336, allocations: 0 / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.8339, allocations: 297.2 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.834, allocations: 89.02 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.834, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.8342, allocations: 19.05 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.8342, allocations: 11.94 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.8342, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.45e-05/0.8343, allocations: 131.2 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8343, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002525/0.8346, allocations: 35.56 kB / 1.026 GB, free: 13.2 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001095/0.8347, allocations: 95.25 kB / 1.026 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.8349, allocations: 68.56 kB / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8349, allocations: 0 / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.835, allocations: 42.73 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.8353, allocations: 44.97 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.8357, allocations: 152.7 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.8359, allocations: 0.7087 MB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.164e-05/0.836, allocations: 16.77 kB / 1.027 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.836, allocations: 11.44 kB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/0.8361, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.004024/0.8401, allocations: 1.84 MB / 1.029 GB, free: 10.29 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches