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.0009919/0.0009919, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001266/0.001266, allocations: 169 kB / 23.27 MB, free: 1.223 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.9058/0.9058, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.274/2.274, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 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.843e-06/1.843e-06, allocations: 0 / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/2.023e-05, allocations: 9.062 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002319/0.002339, allocations: 1.973 MB / 0.8916 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.004022, allocations: 1.594 MB / 0.8932 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.004176, allocations: 8 kB / 0.8932 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.279e-05/0.004259, allocations: 59.2 kB / 0.8933 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.00445, allocations: 103 kB / 0.8934 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.004952, allocations: 307.3 kB / 0.8937 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.005394, allocations: 0.6486 MB / 0.8943 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.005693, allocations: 250.4 kB / 0.8945 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.005994, allocations: 363.2 kB / 0.8949 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.006168, allocations: 179.4 kB / 0.895 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.227e-05/0.00623, allocations: 68 kB / 0.8951 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.006339, allocations: 95.86 kB / 0.8952 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.006405, allocations: 127.6 kB / 0.8953 GB, free: 3.98 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.006525, allocations: 203.5 kB / 0.8955 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.006901, allocations: 466.1 kB / 0.896 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006904, allocations: 0 / 0.896 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.362e-06/0.006905, allocations: 0 / 0.896 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.00691, allocations: 0 / 0.896 GB, free: 3.324 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.000737/0.007647, allocations: 0.8562 MB / 0.8968 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.007686, allocations: 8.625 kB / 0.8968 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.007866, allocations: 116.6 kB / 0.8969 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.00812, allocations: 295.1 kB / 0.8972 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.008154, allocations: 49.69 kB / 0.8972 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.008197, allocations: 56.38 kB / 0.8973 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.008546, allocations: 381.6 kB / 0.8977 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.008559, allocations: 4.172 kB / 0.8977 GB, free: 1.484 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.008584, allocations: 24.38 kB / 0.8977 GB, free: 1.461 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.008594, allocations: 12.38 kB / 0.8977 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.008748, allocations: 152.9 kB / 0.8979 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.009805, allocations: 1.177 MB / 0.899 GB, free: 88 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.01006, allocations: 197.4 kB / 0.8992 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.01019, allocations: 107.2 kB / 0.8993 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.01022, allocations: 12 kB / 0.8993 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.01037, allocations: 159.3 kB / 0.8995 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=34): time 1.302e-06/0.01038, allocations: 0 / 0.8995 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34): time 0.0002879/0.01066, allocations: 244 kB / 0.8997 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.0107, allocations: 81.11 kB / 0.8998 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.01086, allocations: 312 kB / 0.9001 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.01089, allocations: 33.7 kB / 0.9001 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.01104, allocations: 331.4 kB / 0.9004 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.01109, allocations: 119 kB / 0.9005 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.01118, allocations: 91.8 kB / 0.9006 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.01131, allocations: 0.5078 MB / 0.9011 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.0114, allocations: 90.64 kB / 0.9012 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.01153, allocations: 180 kB / 0.9014 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.01173, allocations: 240.5 kB / 0.9016 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01173, allocations: 4 kB / 0.9016 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00036/0.01209, allocations: 364.4 kB / 0.9019 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.01213, allocations: 41.69 kB / 0.902 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01214, allocations: 0 / 0.902 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.01215, allocations: 4 kB / 0.902 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.01232, allocations: 79.84 kB / 0.9021 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.01232, allocations: 4 kB / 0.9021 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.01246, allocations: 59.88 kB / 0.9021 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.01248, allocations: 12 kB / 0.9021 GB, free: 12.64 MB / 0.8698 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.0001235/0.0126, allocations: 180.5 kB / 0.9023 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.01264, allocations: 39.81 kB / 0.9023 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.01289, allocations: 225.5 kB / 0.9026 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.0129, allocations: 4 kB / 0.9026 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.0129, allocations: 7.938 kB / 0.9026 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.01291, allocations: 0 / 0.9026 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.0135, allocations: 0.7448 MB / 0.9033 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.01351, allocations: 4 kB / 0.9033 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.01362, allocations: 59.91 kB / 0.9034 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01363, allocations: 4 kB / 0.9034 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01364, allocations: 8 kB / 0.9034 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.01365, allocations: 11.92 kB / 0.9034 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.01365, allocations: 4 kB / 0.9034 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.01397, allocations: 0.5109 MB / 0.9039 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.014, allocations: 43.72 kB / 0.9039 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.01403, allocations: 8 kB / 0.9039 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.01411, allocations: 8 kB / 0.9039 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.01417, allocations: 31.89 kB / 0.904 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.01418, allocations: 4 kB / 0.904 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001025/0.01428, allocations: 205.1 kB / 0.9042 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01428, allocations: 0 / 0.9042 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002794/0.01456, allocations: 123.6 kB / 0.9043 GB, free: 10.31 MB / 0.8698 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.0001523/0.01471, allocations: 119.1 kB / 0.9044 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.01502, allocations: 287.5 kB / 0.9047 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01503, allocations: 0 / 0.9047 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.01512, allocations: 89.97 kB / 0.9048 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.01546, allocations: 53.22 kB / 0.9048 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009942/0.01646, allocations: 0.7308 MB / 0.9055 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.84e-05/0.01653, allocations: 109.3 kB / 0.9056 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.327e-05/0.01662, allocations: 30.97 kB / 0.9057 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.01677, allocations: 138.2 kB / 0.9058 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of SimCode: time 4.91e-07/0.01677, allocations: 4 kB / 0.9058 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of Templates: time 0.005988/0.02276, allocations: 3.691 MB / 0.9094 GB, free: 5.074 MB / 0.8698 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.257715043146163]