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.001008/0.001008, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001057/0.001057, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9702/0.9702, allocations: 177.1 MB / 204.2 MB, free: 5.59 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.748/1.748, allocations: 359 MB / 0.6052 GB, free: 10.94 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.304e-06/2.304e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.719e-05/3.949e-05, allocations: 3.625 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003654/0.003694, allocations: 1.877 MB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004528/0.004147, allocations: 114.1 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.86e-05/0.004245, allocations: 7.938 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.004372, allocations: 15.8 kB / 0.789 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.004488, allocations: 49.28 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.004639, allocations: 36.53 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.004889, allocations: 179 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.005023, allocations: 14.67 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.005171, allocations: 83.84 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.005262, allocations: 51.89 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.005294, allocations: 9.156 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.913e-05/0.005313, allocations: 11.94 kB / 0.7894 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.005344, allocations: 31.89 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.005404, allocations: 40.73 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.005575, allocations: 107.6 kB / 0.7896 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.005578, allocations: 0.9062 kB / 0.7896 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005579, allocations: 0 / 0.7896 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.005586, allocations: 0 / 0.7896 GB, free: 9.871 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.0006162/0.006202, allocations: 478.5 kB / 0.7901 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.006257, allocations: 8.031 kB / 0.7901 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.006316, allocations: 20.84 kB / 0.7901 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.006524, allocations: 151.4 kB / 0.7902 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.006538, allocations: 5.094 kB / 0.7902 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.006553, allocations: 8.375 kB / 0.7903 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.006751, allocations: 114.8 kB / 0.7904 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.006761, allocations: 1.844 kB / 0.7904 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.006776, allocations: 4.375 kB / 0.7904 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.006787, allocations: 4.375 kB / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.525e-05/0.006872, allocations: 35.91 kB / 0.7904 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006185/0.007491, allocations: 483.5 kB / 0.7909 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.007734, allocations: 106.9 kB / 0.791 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.007793, allocations: 36.53 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.007821, allocations: 0 / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.00786, allocations: 50.84 kB / 0.7911 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 6.142e-06/0.007866, allocations: 0 / 0.7911 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.000274/0.00814, allocations: 97.53 kB / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.008193, allocations: 77.11 kB / 0.7912 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.008328, allocations: 217 kB / 0.7914 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.008346, allocations: 29.7 kB / 0.7915 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.008437, allocations: 158.8 kB / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.008463, allocations: 31.7 kB / 0.7916 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.008508, allocations: 28.64 kB / 0.7917 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.008672, allocations: 0.4962 MB / 0.7921 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.008712, allocations: 11.94 kB / 0.7922 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.894e-05/0.008761, allocations: 35.36 kB / 0.7922 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.673e-05/0.008848, allocations: 52.2 kB / 0.7922 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.008851, allocations: 0 / 0.7922 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001422/0.008993, allocations: 94.73 kB / 0.7923 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.009009, allocations: 4 kB / 0.7923 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.009016, allocations: 4.312 kB / 0.7923 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.009031, allocations: 1.312 kB / 0.7923 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.509e-05/0.009116, allocations: 19.98 kB / 0.7924 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.009126, allocations: 4 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/0.009178, allocations: 13.55 kB / 0.7924 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.009187, allocations: 3.938 kB / 0.7924 GB, free: 6.789 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 9.681e-05/0.009284, allocations: 160.6 kB / 0.7925 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.009323, allocations: 23.88 kB / 0.7926 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.009529, allocations: 101.5 kB / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.009533, allocations: 0 / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.009538, allocations: 0 / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.009543, allocations: 0 / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.009749, allocations: 160.6 kB / 0.7928 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.009751, allocations: 0 / 0.7928 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.064e-05/0.009821, allocations: 24.42 kB / 0.7928 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.009825, allocations: 0.5312 kB / 0.7928 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.009837, allocations: 4 kB / 0.7928 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.009839, allocations: 1.938 kB / 0.7928 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.009841, allocations: 4 kB / 0.7928 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.01008, allocations: 343 kB / 0.7932 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.0101, allocations: 23.78 kB / 0.7932 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.01012, allocations: 3.984 kB / 0.7932 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.01019, allocations: 4.844 kB / 0.7932 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.01025, allocations: 11.98 kB / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.01026, allocations: 4.844 kB / 0.7932 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.234e-05/0.01034, allocations: 155.9 kB / 0.7934 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01034, allocations: 4.594 kB / 0.7934 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002077/0.01055, allocations: 24 kB / 0.7934 GB, free: 5.691 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.0001105/0.01066, allocations: 102.9 kB / 0.7935 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001786/0.01084, allocations: 51.59 kB / 0.7935 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.01084, allocations: 4 kB / 0.7935 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.101e-05/0.01089, allocations: 31.67 kB / 0.7936 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.01124, allocations: 42.67 kB / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008012/0.01205, allocations: 242.1 kB / 0.7938 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.85e-05/0.0121, allocations: 68.22 kB / 0.7939 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.135e-05/0.01219, allocations: 15.97 kB / 0.7939 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.01224, allocations: 20.5 kB / 0.7939 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of SimCode: time 1.623e-06/0.01224, allocations: 0 / 0.7939 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of Templates: time 0.005557/0.0178, allocations: 2.301 MB / 0.7962 GB, free: 2.844 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.906215467955917]