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.001138/0.001138, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001136/0.001136, allocations: 169 kB / 24.28 MB, free: 280 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 1.074/1.074, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.801/1.801, allocations: 359 MB / 0.6055 GB, free: 11.04 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.835e-06/2.835e-06, allocations: 0 / 0.787 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.429e-05/4.713e-05, allocations: 2.312 kB / 0.787 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003958/0.004005, allocations: 1.871 MB / 0.7889 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.004525, allocations: 117.7 kB / 0.789 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.004666, allocations: 4 kB / 0.789 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.004825, allocations: 16.75 kB / 0.789 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.004957, allocations: 52.81 kB / 0.7891 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.005136, allocations: 37.59 kB / 0.7891 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000315/0.005451, allocations: 183 kB / 0.7893 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.005627, allocations: 9.312 kB / 0.7893 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.005795, allocations: 83.8 kB / 0.7894 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.005897, allocations: 53.22 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.005933, allocations: 12 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.342e-05/0.005957, allocations: 8 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.885e-05/0.006046, allocations: 23.91 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.006105, allocations: 53.44 kB / 0.7895 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.00628, allocations: 107.5 kB / 0.7896 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.006284, allocations: 4 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/0.006287, allocations: 0 / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.006293, allocations: 3.438 kB / 0.7896 GB, free: 10.29 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.0006717/0.006965, allocations: 464 kB / 0.79 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.007014, allocations: 8.031 kB / 0.7901 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.007077, allocations: 24.84 kB / 0.7901 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.007299, allocations: 149.7 kB / 0.7902 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.007314, allocations: 8.906 kB / 0.7902 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.00733, allocations: 4.375 kB / 0.7902 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.007556, allocations: 114.8 kB / 0.7903 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.007566, allocations: 4.719 kB / 0.7903 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.007582, allocations: 9.094 kB / 0.7904 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.007593, allocations: 4.375 kB / 0.7904 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.244e-05/0.007686, allocations: 36.81 kB / 0.7904 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.008269, allocations: 480.3 kB / 0.7909 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.008526, allocations: 106.1 kB / 0.791 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.404e-05/0.00859, allocations: 36.66 kB / 0.791 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.008614, allocations: 4.078 kB / 0.791 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.008643, allocations: 41.39 kB / 0.791 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.405e-06/0.008646, allocations: 0 / 0.791 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0004061/0.009052, allocations: 102.2 kB / 0.7911 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.009103, allocations: 81.77 kB / 0.7912 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.00925, allocations: 215.3 kB / 0.7914 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.009268, allocations: 26.73 kB / 0.7914 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.009364, allocations: 154.8 kB / 0.7916 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.009394, allocations: 35.69 kB / 0.7916 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.009445, allocations: 28.28 kB / 0.7916 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.0096, allocations: 0.4923 MB / 0.7921 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.009646, allocations: 14.2 kB / 0.7921 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-05/0.009699, allocations: 31.38 kB / 0.7922 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.009805, allocations: 55.3 kB / 0.7922 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.009808, allocations: 0 / 0.7922 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001489/0.009957, allocations: 89.58 kB / 0.7923 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.009978, allocations: 4 kB / 0.7923 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.009986, allocations: 3.5 kB / 0.7923 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.01, allocations: 0 / 0.7923 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.01011, allocations: 23.92 kB / 0.7923 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.01012, allocations: 4 kB / 0.7923 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.195e-05/0.01017, allocations: 19.89 kB / 0.7924 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.01018, allocations: 0 / 0.7924 GB, free: 7.219 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.864e-05/0.01027, allocations: 164.6 kB / 0.7925 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.0103, allocations: 17.14 kB / 0.7925 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.01051, allocations: 98.75 kB / 0.7926 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01051, allocations: 0 / 0.7926 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01051, allocations: 0.8594 kB / 0.7926 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01052, allocations: 0 / 0.7926 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.0107, allocations: 161.1 kB / 0.7928 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.0107, allocations: 8.891 kB / 0.7928 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.415e-05/0.01077, allocations: 23.92 kB / 0.7928 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.01078, allocations: 0.9688 kB / 0.7928 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.01079, allocations: 0 / 0.7928 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01079, allocations: 0 / 0.7928 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.01079, allocations: 9.031 kB / 0.7928 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.01101, allocations: 343.1 kB / 0.7932 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.01104, allocations: 27.7 kB / 0.7932 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.01106, allocations: 1.5 kB / 0.7932 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.01113, allocations: 8 kB / 0.7932 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.01118, allocations: 7.984 kB / 0.7932 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.01119, allocations: 4 kB / 0.7932 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.294e-05/0.01126, allocations: 156.7 kB / 0.7933 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01126, allocations: 0 / 0.7933 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001889/0.01145, allocations: 28.94 kB / 0.7934 GB, free: 6.117 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.000104/0.01155, allocations: 100.5 kB / 0.7935 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.01171, allocations: 47.61 kB / 0.7935 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.01172, allocations: 4 kB / 0.7935 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.931e-05/0.01177, allocations: 36.45 kB / 0.7936 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.0121, allocations: 45.86 kB / 0.7936 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.01282, allocations: 245.6 kB / 0.7938 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.384e-05/0.01288, allocations: 63.34 kB / 0.7939 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.258e-05/0.01294, allocations: 10.45 kB / 0.7939 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.01299, allocations: 16.5 kB / 0.7939 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of SimCode: time 1.343e-06/0.01299, allocations: 0 / 0.7939 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.004486/0.01748, allocations: 2.148 MB / 0.796 GB, free: 3.438 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: 5.339350153226405]