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.001411/0.001411, allocations: 78.66 kB / 20.68 MB, free: 3.824 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.001765/0.001765, allocations: 180.9 kB / 24.09 MB, free: 424 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.043/1.043, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.757/1.757, allocations: 359 MB / 0.6055 GB, free: 10.84 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.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 2.554e-06/2.554e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.749e-05, allocations: 5.625 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002831/0.002858, allocations: 1.965 MB / 0.7894 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002346/0.005205, allocations: 1.604 MB / 0.791 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.005512, allocations: 9.562 kB / 0.791 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.005612, allocations: 59.2 kB / 0.7911 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.005865, allocations: 99.02 kB / 0.7912 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.00654, allocations: 301 kB / 0.7915 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007096/0.00725, allocations: 0.6486 MB / 0.7921 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003803/0.00763, allocations: 250.9 kB / 0.7923 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.007993, allocations: 363.2 kB / 0.7927 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.00817, allocations: 188.6 kB / 0.7929 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.488e-05/0.008235, allocations: 68 kB / 0.7929 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.008359, allocations: 91.92 kB / 0.793 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.008432, allocations: 133.6 kB / 0.7931 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.008568, allocations: 199.5 kB / 0.7933 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.008979, allocations: 466.1 kB / 0.7938 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.008983, allocations: 0 / 0.7938 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.674e-06/0.008985, allocations: 0 / 0.7938 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.008991, allocations: 2.094 kB / 0.7938 GB, free: 5.785 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.000851/0.009842, allocations: 0.8445 MB / 0.7946 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.009883, allocations: 12.02 kB / 0.7946 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.01009, allocations: 113.1 kB / 0.7947 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.01037, allocations: 292.8 kB / 0.795 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.01041, allocations: 41.69 kB / 0.795 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.01045, allocations: 64.31 kB / 0.7951 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.01084, allocations: 377.7 kB / 0.7955 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.01085, allocations: 0.8438 kB / 0.7955 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.01087, allocations: 20.38 kB / 0.7955 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.01088, allocations: 13.47 kB / 0.7955 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.01105, allocations: 149 kB / 0.7956 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.01225, allocations: 1.18 MB / 0.7968 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.01252, allocations: 200 kB / 0.797 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.01266, allocations: 115.4 kB / 0.7971 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.01269, allocations: 13.47 kB / 0.7971 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.01287, allocations: 160 kB / 0.7973 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=34): time 2.505e-06/0.01287, allocations: 0 / 0.7973 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.0003133/0.01318, allocations: 241.7 kB / 0.7975 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.01322, allocations: 81.11 kB / 0.7976 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.01342, allocations: 319.2 kB / 0.7979 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.01344, allocations: 33.7 kB / 0.7979 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.0136, allocations: 327.4 kB / 0.7982 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.01366, allocations: 119 kB / 0.7983 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.01376, allocations: 91.77 kB / 0.7984 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.01389, allocations: 0.5156 MB / 0.7989 GB, free: 292 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.684e-05/0.01399, allocations: 86.66 kB / 0.799 GB, free: 200 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.01412, allocations: 176.1 kB / 0.7992 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.01433, allocations: 237 kB / 0.7994 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01434, allocations: 2.531 kB / 0.7994 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003665/0.0147, allocations: 373.9 kB / 0.7998 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.01474, allocations: 33.7 kB / 0.7998 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.01475, allocations: 0 / 0.7998 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.01477, allocations: 4.719 kB / 0.7998 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.01495, allocations: 79.89 kB / 0.7999 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01496, allocations: 8.781 kB / 0.7999 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.0151, allocations: 60.5 kB / 0.7999 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.01512, allocations: 15.98 kB / 0.7999 GB, free: 15.13 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.0001315/0.01525, allocations: 177.7 kB / 0.8001 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.01529, allocations: 39.81 kB / 0.8002 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.01555, allocations: 214.1 kB / 0.8004 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.01556, allocations: 4 kB / 0.8004 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01556, allocations: 0.9375 kB / 0.8004 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.01556, allocations: 7.984 kB / 0.8004 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.01613, allocations: 0.7501 MB / 0.8011 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01613, allocations: 1.125 kB / 0.8011 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.01625, allocations: 55.91 kB / 0.8012 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.01626, allocations: 5.125 kB / 0.8012 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.01627, allocations: 8 kB / 0.8012 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01628, allocations: 4 kB / 0.8012 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01628, allocations: 1 kB / 0.8012 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.01657, allocations: 0.5204 MB / 0.8017 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.0166, allocations: 36.28 kB / 0.8017 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.01662, allocations: 11.98 kB / 0.8017 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.01672, allocations: 9.688 kB / 0.8017 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.01676, allocations: 39.83 kB / 0.8018 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.01678, allocations: 8 kB / 0.8018 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.987e-05/0.01688, allocations: 209.1 kB / 0.802 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01688, allocations: 0.5 kB / 0.802 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003184/0.01719, allocations: 120.9 kB / 0.8021 GB, free: 12.82 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.0001336/0.01733, allocations: 123.1 kB / 0.8022 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.01761, allocations: 277.9 kB / 0.8025 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01762, allocations: 0 / 0.8025 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.029e-05/0.01771, allocations: 98.3 kB / 0.8026 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.01805, allocations: 61.22 kB / 0.8026 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.0191, allocations: 0.732 MB / 0.8033 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.91e-05/0.01917, allocations: 106.5 kB / 0.8035 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.651e-05/0.01927, allocations: 34.95 kB / 0.8035 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.01942, allocations: 134.2 kB / 0.8036 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of SimCode: time 8.62e-07/0.01942, allocations: 0 / 0.8036 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of Templates: time 0.006782/0.0262, allocations: 3.668 MB / 0.8072 GB, free: 7.582 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.131834710948169]