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.001067/0.001067, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001131/0.001131, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.9978/0.9978, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 2/2, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.941e-05, allocations: 8.922 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003409/0.003439, allocations: 1.882 MB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003677/0.003806, allocations: 117.8 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.605e-05/0.003902, allocations: 3.938 kB / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.004023, allocations: 16.98 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.004131, allocations: 52.34 kB / 0.8801 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.004288, allocations: 37.59 kB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.004526, allocations: 179 kB / 0.8804 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.004648, allocations: 17.3 kB / 0.8804 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.004785, allocations: 79.86 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.004889, allocations: 52.38 kB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.004924, allocations: 13.88 kB / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.494e-05/0.004949, allocations: 8 kB / 0.8805 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.004982, allocations: 31.84 kB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.005043, allocations: 43.91 kB / 0.8806 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.005218, allocations: 95.66 kB / 0.8807 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.005221, allocations: 1.344 kB / 0.8807 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005222, allocations: 0 / 0.8807 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.005229, allocations: 4 kB / 0.8807 GB, free: 3.754 MB / 0.8386 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.0006666/0.005896, allocations: 473.5 kB / 0.8811 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.005937, allocations: 12.03 kB / 0.8811 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.005998, allocations: 22.44 kB / 0.8812 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.00622, allocations: 160.2 kB / 0.8813 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.006235, allocations: 8.375 kB / 0.8813 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.006253, allocations: 6.844 kB / 0.8813 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.00649, allocations: 110.3 kB / 0.8814 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.0065, allocations: 4.125 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.006515, allocations: 4.375 kB / 0.8814 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.006526, allocations: 4.375 kB / 0.8815 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.006635, allocations: 35.91 kB / 0.8815 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006787/0.007314, allocations: 484.5 kB / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.007582, allocations: 98.16 kB / 0.882 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.551e-05/0.007658, allocations: 40.17 kB / 0.8821 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.007683, allocations: 5.188 kB / 0.8821 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.00771, allocations: 33.39 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.264e-06/0.007712, allocations: 4 kB / 0.8821 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003307/0.008043, allocations: 101.5 kB / 0.8822 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.008088, allocations: 81.11 kB / 0.8823 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.00825, allocations: 216.7 kB / 0.8825 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.008266, allocations: 25.7 kB / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.008351, allocations: 158.8 kB / 0.8827 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.008379, allocations: 27.75 kB / 0.8827 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.008434, allocations: 27.38 kB / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.008581, allocations: 0.4923 MB / 0.8832 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/0.00863, allocations: 15.98 kB / 0.8832 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.008687, allocations: 35.3 kB / 0.8833 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.008807, allocations: 51.62 kB / 0.8833 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.00881, allocations: 4 kB / 0.8833 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.008996, allocations: 93.47 kB / 0.8834 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.009014, allocations: 11.98 kB / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.009019, allocations: 0 / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.009037, allocations: 0 / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.009159, allocations: 16 kB / 0.8834 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.009164, allocations: 0 / 0.8834 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.009238, allocations: 11.98 kB / 0.8834 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.009248, allocations: 7.938 kB / 0.8834 GB, free: 0.668 MB / 0.8386 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.311e-05/0.009342, allocations: 168.5 kB / 0.8836 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.0094, allocations: 19.84 kB / 0.8836 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.009631, allocations: 98.73 kB / 0.8837 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.009634, allocations: 4 kB / 0.8837 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.009638, allocations: 0 / 0.8837 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.009641, allocations: 240 / 0.8837 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.009883, allocations: 156.7 kB / 0.8839 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.009886, allocations: 3.984 kB / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.00999, allocations: 20.11 kB / 0.8839 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.009995, allocations: 4 kB / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.01001, allocations: 8 kB / 0.8839 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01001, allocations: 0 / 0.8839 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.01001, allocations: 3.984 kB / 0.8839 GB, free: 136 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.01029, allocations: 355 kB / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.01031, allocations: 15.83 kB / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.01034, allocations: 4 kB / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.01047, allocations: 7.984 kB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.01053, allocations: 7.984 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01054, allocations: 4 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.735e-05/0.01062, allocations: 160.8 kB / 0.8844 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01062, allocations: 4 kB / 0.8844 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000324/0.01095, allocations: 31.95 kB / 0.8845 GB, free: 15.54 MB / 0.8542 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.0001089/0.01106, allocations: 99.19 kB / 0.8846 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.01123, allocations: 55.88 kB / 0.8846 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01123, allocations: 0 / 0.8846 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.34e-05/0.0113, allocations: 27.62 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.01177, allocations: 48.28 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.01245, allocations: 234 kB / 0.8849 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.688e-05/0.01251, allocations: 63.34 kB / 0.885 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.132e-05/0.01258, allocations: 12.5 kB / 0.885 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.01264, allocations: 12.5 kB / 0.885 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of SimCode: time 7.72e-07/0.01264, allocations: 0 / 0.885 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.006856/0.01949, allocations: 2.302 MB / 0.8873 GB, free: 12.7 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3147618770599365]