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.001047/0.001047, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001163/0.001163, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.232/2.232, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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 1.403e-06/1.403e-06, allocations: 0 / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.281e-05, allocations: 4.844 kB / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002292/0.002314, allocations: 2.052 MB / 0.8801 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.003859, allocations: 1.608 MB / 0.8817 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.003991, allocations: 8 kB / 0.8817 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.117e-05/0.004082, allocations: 56.83 kB / 0.8818 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.004265, allocations: 107 kB / 0.8819 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.004868, allocations: 296.8 kB / 0.8822 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.005299, allocations: 0.6486 MB / 0.8828 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.005598, allocations: 250.4 kB / 0.883 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.005858, allocations: 358.4 kB / 0.8834 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.006023, allocations: 191.3 kB / 0.8836 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.006086, allocations: 68 kB / 0.8836 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.00619, allocations: 91.92 kB / 0.8837 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.006265, allocations: 135.6 kB / 0.8838 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.006404, allocations: 195.5 kB / 0.884 GB, free: 324 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.006808, allocations: 470.1 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.006811, allocations: 0 / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.41e-07/0.006812, allocations: 0.5938 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.006817, allocations: 0 / 0.8845 GB, free: 15.86 MB / 0.8542 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.0008276/0.007645, allocations: 0.8462 MB / 0.8853 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.007683, allocations: 13.38 kB / 0.8853 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.007883, allocations: 116.5 kB / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.0082, allocations: 304.4 kB / 0.8857 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.008234, allocations: 45.69 kB / 0.8858 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.008283, allocations: 56.38 kB / 0.8858 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.008732, allocations: 409.7 kB / 0.8862 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.008747, allocations: 192 / 0.8862 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.008776, allocations: 28.38 kB / 0.8862 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.008789, allocations: 12.38 kB / 0.8862 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.009064, allocations: 199.6 kB / 0.8864 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.0103, allocations: 1.231 MB / 0.8876 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.01063, allocations: 206.4 kB / 0.8878 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.01083, allocations: 123.2 kB / 0.8879 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.01086, allocations: 11.98 kB / 0.888 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.01104, allocations: 162.2 kB / 0.8881 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 1.363e-06/0.01104, allocations: 4 kB / 0.8881 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0003755/0.01142, allocations: 267.1 kB / 0.8884 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.01146, allocations: 81.11 kB / 0.8884 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.01166, allocations: 316.2 kB / 0.8888 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.01169, allocations: 37.7 kB / 0.8888 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.01184, allocations: 331.4 kB / 0.8891 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.01191, allocations: 115 kB / 0.8892 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.743e-05/0.01201, allocations: 87.84 kB / 0.8893 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.01215, allocations: 0.5118 MB / 0.8898 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.01229, allocations: 102.7 kB / 0.8899 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.01245, allocations: 200.1 kB / 0.8901 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.0127, allocations: 255.7 kB / 0.8903 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.0127, allocations: 0 / 0.8903 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004191/0.01312, allocations: 402.2 kB / 0.8907 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.01315, allocations: 37.7 kB / 0.8907 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01316, allocations: 0 / 0.8907 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.01317, allocations: 4 kB / 0.8908 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.01334, allocations: 79.83 kB / 0.8908 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01335, allocations: 4 kB / 0.8908 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.01349, allocations: 59.59 kB / 0.8909 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.01351, allocations: 23.98 kB / 0.8909 GB, free: 8.898 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.0001102/0.01362, allocations: 184.5 kB / 0.8911 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.01366, allocations: 39.81 kB / 0.8911 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.01394, allocations: 227.5 kB / 0.8913 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01394, allocations: 7.984 kB / 0.8914 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.01395, allocations: 0 / 0.8914 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01395, allocations: 0 / 0.8914 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.01453, allocations: 0.8261 MB / 0.8922 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01453, allocations: 4.188 kB / 0.8922 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.01465, allocations: 59.91 kB / 0.8922 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01465, allocations: 0 / 0.8922 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01467, allocations: 8 kB / 0.8922 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.01467, allocations: 11.88 kB / 0.8922 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01467, allocations: 4 kB / 0.8922 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.01498, allocations: 0.5348 MB / 0.8928 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-05/0.01501, allocations: 31.75 kB / 0.8928 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.01504, allocations: 11.98 kB / 0.8928 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.01513, allocations: 15.94 kB / 0.8928 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.01518, allocations: 27.95 kB / 0.8928 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.01519, allocations: 16 kB / 0.8929 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001139/0.0153, allocations: 217.1 kB / 0.8931 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.0153, allocations: 0 / 0.8931 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002713/0.01558, allocations: 119.6 kB / 0.8932 GB, free: 6.438 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.000114/0.01569, allocations: 119.1 kB / 0.8933 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.01603, allocations: 303.9 kB / 0.8936 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01603, allocations: 4.125 kB / 0.8936 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.01614, allocations: 113.7 kB / 0.8937 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.01647, allocations: 56.34 kB / 0.8938 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009436/0.01741, allocations: 0.7274 MB / 0.8945 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.681e-05/0.01748, allocations: 105.3 kB / 0.8946 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.868e-05/0.01756, allocations: 42.94 kB / 0.8946 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.01761, allocations: 28.5 kB / 0.8946 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/0.01761, allocations: 0 / 0.8946 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of Templates: time 0.005325/0.02293, allocations: 3.348 MB / 0.8979 GB, free: 1.594 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.780785885173827]