Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001054/0.001054, 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.0009775/0.0009775, allocations: 161 kB / 23.82 MB, free: 0.75 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 / 204.2 MB, free: 5.25 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.905/1.905, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 177] 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.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_11_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_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.729e-06/4.729e-06, allocations: 0 / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.317e-05/4.79e-05, allocations: 5.984 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003127/0.003175, allocations: 2.041 MB / 0.7891 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00243/0.005605, allocations: 1.602 MB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003705/0.005976, allocations: 8 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.006114, allocations: 63.19 kB / 0.7907 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.006416, allocations: 100 kB / 0.7908 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009476/0.007363, allocations: 308.1 kB / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007211/0.008084, allocations: 0.6549 MB / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.008474, allocations: 250.4 kB / 0.792 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004172/0.008891, allocations: 351.3 kB / 0.7923 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.009095, allocations: 191.4 kB / 0.7925 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.009166, allocations: 68 kB / 0.7925 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.009318, allocations: 91.98 kB / 0.7926 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.009398, allocations: 131.5 kB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.009559, allocations: 197.2 kB / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.01011, allocations: 474 kB / 0.7934 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.01012, allocations: 3.984 kB / 0.7934 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.663e-06/0.01012, allocations: 0 / 0.7934 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.01013, allocations: 0.5938 kB / 0.7934 GB, free: 6.035 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001093/0.01122, allocations: 0.8423 MB / 0.7942 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.01127, allocations: 12.03 kB / 0.7942 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/0.01156, allocations: 109.1 kB / 0.7943 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.01199, allocations: 305 kB / 0.7946 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.01204, allocations: 42.47 kB / 0.7947 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.01209, allocations: 60.36 kB / 0.7947 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.01263, allocations: 414.9 kB / 0.7951 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.01265, allocations: 192 / 0.7951 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.01269, allocations: 24.38 kB / 0.7951 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.0127, allocations: 13.75 kB / 0.7952 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.013, allocations: 199.6 kB / 0.7953 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.01452, allocations: 1.231 MB / 0.7965 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.01493, allocations: 206.4 kB / 0.7967 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.01515, allocations: 119.8 kB / 0.7969 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.01519, allocations: 9.938 kB / 0.7969 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.01542, allocations: 170.1 kB / 0.797 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=34): time 2.786e-06/0.01543, allocations: 0 / 0.797 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.0004645/0.01589, allocations: 269.6 kB / 0.7973 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.01594, allocations: 81.11 kB / 0.7974 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.01617, allocations: 314.8 kB / 0.7977 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.01621, allocations: 37.7 kB / 0.7977 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.01649, allocations: 331.4 kB / 0.798 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.01657, allocations: 119 kB / 0.7981 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.01668, allocations: 91.8 kB / 0.7982 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.01683, allocations: 0.5079 MB / 0.7987 GB, free: 348 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.01698, allocations: 106.6 kB / 0.7988 GB, free: 236 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.01715, allocations: 192.7 kB / 0.799 GB, free: 4 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.01744, allocations: 256.8 kB / 0.7992 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.01745, allocations: 3.938 kB / 0.7992 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005101/0.01796, allocations: 402.4 kB / 0.7996 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.01801, allocations: 41.69 kB / 0.7997 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.01802, allocations: 1.156 kB / 0.7997 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.01805, allocations: 4 kB / 0.7997 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.01827, allocations: 75.84 kB / 0.7997 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.01828, allocations: 4.844 kB / 0.7998 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.01845, allocations: 57.11 kB / 0.7998 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.01849, allocations: 24 kB / 0.7998 GB, free: 15.1 MB / 0.7605 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.000152/0.01864, allocations: 188.4 kB / 0.8 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.01869, allocations: 40.94 kB / 0.8 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.01904, allocations: 223.6 kB / 0.8003 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.01905, allocations: 9.922 kB / 0.8003 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.01906, allocations: 0 / 0.8003 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.01906, allocations: 3.984 kB / 0.8003 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007768/0.01984, allocations: 0.8246 MB / 0.8011 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.01985, allocations: 4 kB / 0.8011 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.01999, allocations: 51.92 kB / 0.8011 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.02, allocations: 4 kB / 0.8011 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.02002, allocations: 11.98 kB / 0.8011 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.02002, allocations: 5.281 kB / 0.8012 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.02003, allocations: 7.938 kB / 0.8012 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.02043, allocations: 0.5283 MB / 0.8017 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.02049, allocations: 43.67 kB / 0.8017 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.02051, allocations: 8 kB / 0.8017 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.02062, allocations: 15.92 kB / 0.8017 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.02069, allocations: 23.91 kB / 0.8018 GB, free: 13 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.0207, allocations: 21.17 kB / 0.8018 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001402/0.02084, allocations: 209.1 kB / 0.802 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02084, allocations: 0 / 0.802 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003895/0.02123, allocations: 128.7 kB / 0.8021 GB, free: 12.65 MB / 0.7605 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.00024/0.02147, allocations: 115.1 kB / 0.8022 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004387/0.02191, allocations: 306.1 kB / 0.8025 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.02192, allocations: 3.188 kB / 0.8025 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.02204, allocations: 99.45 kB / 0.8026 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.02248, allocations: 62.08 kB / 0.8027 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.02386, allocations: 0.7291 MB / 0.8034 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.135e-05/0.02395, allocations: 109.3 kB / 0.8035 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.02407, allocations: 33.22 kB / 0.8035 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.02413, allocations: 28.5 kB / 0.8035 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of SimCode: time 1.543e-06/0.02413, allocations: 4 kB / 0.8035 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of Templates: time 0.008089/0.03222, allocations: 3.349 MB / 0.8068 GB, free: 7.793 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.6133101740852]