Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001342/0.001342, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001586/0.001586, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9997/0.9997, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.718/1.718, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0.875 kB / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.63e-05, allocations: 6.812 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003379/0.003406, allocations: 1.873 MB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004101/0.003816, allocations: 109.9 kB / 0.7894 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.003919, allocations: 5.062 kB / 0.7894 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.004044, allocations: 15.8 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.359e-05/0.004138, allocations: 49.06 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.00427, allocations: 37.5 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.004478, allocations: 179 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.004591, allocations: 21.3 kB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.004722, allocations: 79.84 kB / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.872e-05/0.004821, allocations: 57.08 kB / 0.7899 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.00485, allocations: 8 kB / 0.7899 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.289e-05/0.004872, allocations: 8 kB / 0.7899 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.004902, allocations: 29.98 kB / 0.7899 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.004958, allocations: 43.92 kB / 0.79 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.005114, allocations: 103.6 kB / 0.7901 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.005117, allocations: 0 / 0.7901 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.412e-06/0.005118, allocations: 0 / 0.7901 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.005122, allocations: 0 / 0.7901 GB, free: 9.645 MB / 0.7448 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.0005763/0.005699, allocations: 478.1 kB / 0.7905 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.005739, allocations: 8.031 kB / 0.7905 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.005786, allocations: 22.5 kB / 0.7905 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.005962, allocations: 152.4 kB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.005972, allocations: 4.375 kB / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.005987, allocations: 8.375 kB / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.006166, allocations: 109 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.006175, allocations: 1.312 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.006186, allocations: 4.375 kB / 0.7908 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.006193, allocations: 4.312 kB / 0.7908 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.637e-05/0.006259, allocations: 29.06 kB / 0.7908 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.006803, allocations: 456.5 kB / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.006992, allocations: 94.19 kB / 0.7914 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.007042, allocations: 37.12 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.007066, allocations: 12.02 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.007091, allocations: 37.38 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.007093, allocations: 0 / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002251/0.007318, allocations: 90.5 kB / 0.7915 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.007363, allocations: 85.09 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.007493, allocations: 212.2 kB / 0.7918 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.007507, allocations: 30.2 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.007588, allocations: 159.2 kB / 0.792 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.007614, allocations: 31.7 kB / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.007662, allocations: 33.28 kB / 0.7921 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.007815, allocations: 0.4923 MB / 0.7925 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.007844, allocations: 8 kB / 0.7925 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.868e-05/0.007893, allocations: 35.28 kB / 0.7926 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.148e-05/0.007974, allocations: 51.61 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.007976, allocations: 2.5 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001362/0.008112, allocations: 81.52 kB / 0.7927 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.008126, allocations: 9.719 kB / 0.7927 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.008131, allocations: 0 / 0.7927 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.008144, allocations: 0 / 0.7927 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.008242, allocations: 23.98 kB / 0.7927 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.008245, allocations: 0.7188 kB / 0.7927 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.008308, allocations: 11.95 kB / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.008315, allocations: 0.5312 kB / 0.7928 GB, free: 6.645 MB / 0.7448 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 8.506e-05/0.0084, allocations: 165.4 kB / 0.7929 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.008444, allocations: 15.89 kB / 0.7929 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.008621, allocations: 99.58 kB / 0.793 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.008623, allocations: 1.281 kB / 0.793 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.008625, allocations: 0 / 0.793 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.00863, allocations: 4 kB / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.008835, allocations: 130 kB / 0.7931 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.008838, allocations: 4 kB / 0.7932 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.961e-05/0.008918, allocations: 16.89 kB / 0.7932 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.00892, allocations: 0 / 0.7932 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.008931, allocations: 7.938 kB / 0.7932 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008932, allocations: 1.531 kB / 0.7932 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.008934, allocations: 0 / 0.7932 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.009143, allocations: 347.2 kB / 0.7935 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.009165, allocations: 19.83 kB / 0.7935 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.009184, allocations: 13.16 kB / 0.7935 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.009297, allocations: 4 kB / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.009333, allocations: 7.984 kB / 0.7936 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.009339, allocations: 3.125 kB / 0.7936 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.917e-05/0.009408, allocations: 162.1 kB / 0.7937 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009408, allocations: 0 / 0.7937 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002617/0.00967, allocations: 24 kB / 0.7937 GB, free: 5.59 MB / 0.7448 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.0001042/0.009774, allocations: 103.2 kB / 0.7938 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.009899, allocations: 47.88 kB / 0.7939 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.009901, allocations: 0 / 0.7939 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.122e-05/0.009952, allocations: 36.73 kB / 0.7939 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.01034, allocations: 29.5 kB / 0.7939 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.01092, allocations: 251.4 kB / 0.7942 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.246e-05/0.01097, allocations: 67.34 kB / 0.7942 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.892e-05/0.01104, allocations: 16.27 kB / 0.7943 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.01118, allocations: 106.2 kB / 0.7944 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.01118, allocations: 2.812 kB / 0.7944 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of Templates: time 0.004941/0.01612, allocations: 2.355 MB / 0.7967 GB, free: 2.605 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.97160858893767]