Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.001006/0.001006, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009409/0.0009409, allocations: 173.3 kB / 23.49 MB, free: 1.062 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 1.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.115/2.115, allocations: 429.5 MB / 0.6736 GB, free: 4.02 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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.8782 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.658e-05, allocations: 5.531 kB / 0.8782 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002633/0.00266, allocations: 2.021 MB / 0.8801 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.004408, allocations: 1.6 MB / 0.8817 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.004582, allocations: 11.94 kB / 0.8817 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.876e-05/0.004671, allocations: 60.39 kB / 0.8818 GB, free: 3 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.004865, allocations: 99.55 kB / 0.8819 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.005405, allocations: 300.3 kB / 0.8821 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000451/0.005856, allocations: 0.6481 MB / 0.8828 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.006194, allocations: 250.4 kB / 0.883 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.006467, allocations: 367.2 kB / 0.8834 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.006631, allocations: 183.4 kB / 0.8835 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.006691, allocations: 72 kB / 0.8836 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.006799, allocations: 95.86 kB / 0.8837 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.006867, allocations: 123.6 kB / 0.8838 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.007, allocations: 199.5 kB / 0.884 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.007388, allocations: 470.1 kB / 0.8845 GB, free: 232 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.00739, allocations: 4.594 kB / 0.8845 GB, free: 228 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.263e-06/0.007392, allocations: 1.25 kB / 0.8845 GB, free: 228 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.007397, allocations: 0 / 0.8845 GB, free: 228 kB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.0008369/0.008234, allocations: 0.8424 MB / 0.8853 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.008274, allocations: 8.031 kB / 0.8853 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.008495, allocations: 120.5 kB / 0.8854 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.008818, allocations: 300.5 kB / 0.8857 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.008854, allocations: 41.69 kB / 0.8857 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.008901, allocations: 56.38 kB / 0.8858 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.009373, allocations: 421.7 kB / 0.8862 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.009385, allocations: 4.125 kB / 0.8862 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.009413, allocations: 20.38 kB / 0.8862 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.009425, allocations: 12.38 kB / 0.8862 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.009703, allocations: 195.7 kB / 0.8864 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.01097, allocations: 1.235 MB / 0.8876 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.01129, allocations: 206.4 kB / 0.8878 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.01149, allocations: 123.2 kB / 0.8879 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.01151, allocations: 11.98 kB / 0.8879 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.0117, allocations: 162.2 kB / 0.8881 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.0117, allocations: 0 / 0.8881 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0004281/0.01213, allocations: 262.3 kB / 0.8883 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.01217, allocations: 85.05 kB / 0.8884 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.01238, allocations: 320.2 kB / 0.8887 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.01241, allocations: 29.7 kB / 0.8888 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.01255, allocations: 339.4 kB / 0.8891 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.0126, allocations: 111 kB / 0.8892 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.25e-05/0.0127, allocations: 87.84 kB / 0.8893 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.01282, allocations: 0.5196 MB / 0.8898 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.01296, allocations: 98.66 kB / 0.8899 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.01319, allocations: 192.1 kB / 0.8901 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.01345, allocations: 256 kB / 0.8903 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01345, allocations: 4 kB / 0.8903 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004272/0.01388, allocations: 406 kB / 0.8907 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.01391, allocations: 37.7 kB / 0.8907 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.01392, allocations: 0 / 0.8907 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.01393, allocations: 4 kB / 0.8907 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.01411, allocations: 75.91 kB / 0.8908 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.01412, allocations: 7.984 kB / 0.8908 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.01426, allocations: 55.66 kB / 0.8909 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.01429, allocations: 24.17 kB / 0.8909 GB, free: 9.273 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001165/0.0144, allocations: 184.4 kB / 0.8911 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.01444, allocations: 39.81 kB / 0.8911 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.01474, allocations: 233.8 kB / 0.8913 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01474, allocations: 4 kB / 0.8913 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.01474, allocations: 0 / 0.8913 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.01475, allocations: 11.92 kB / 0.8913 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.01537, allocations: 0.8263 MB / 0.8922 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01538, allocations: 4 kB / 0.8922 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.0155, allocations: 59.91 kB / 0.8922 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01551, allocations: 4 kB / 0.8922 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.01552, allocations: 8 kB / 0.8922 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.01553, allocations: 11.92 kB / 0.8922 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01553, allocations: 0 / 0.8922 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.01587, allocations: 0.5343 MB / 0.8928 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.01591, allocations: 35.75 kB / 0.8928 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.01593, allocations: 12.12 kB / 0.8928 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.01603, allocations: 15.92 kB / 0.8928 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.01609, allocations: 27.95 kB / 0.8928 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.01611, allocations: 15.94 kB / 0.8929 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001221/0.01623, allocations: 213.1 kB / 0.8931 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01623, allocations: 0 / 0.8931 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002955/0.01652, allocations: 119.6 kB / 0.8932 GB, free: 6.805 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001379/0.01666, allocations: 115.1 kB / 0.8933 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006197/0.01728, allocations: 311.4 kB / 0.8936 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01728, allocations: 0 / 0.8936 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.0174, allocations: 102.4 kB / 0.8937 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.01776, allocations: 65.09 kB / 0.8937 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.01878, allocations: 0.727 MB / 0.8945 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.474e-05/0.01886, allocations: 105.3 kB / 0.8946 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.679e-05/0.01894, allocations: 34.95 kB / 0.8946 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.019, allocations: 32.48 kB / 0.8946 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/0.019, allocations: 3.938 kB / 0.8946 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of Templates: time 0.005764/0.02476, allocations: 3.341 MB / 0.8979 GB, free: 1.965 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_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.670256251934916]