Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TRet|heaCur.TSup|heaCur.TOut|heaCur1.TSetZon|heaCur1.TRet|heaCur1.TSup",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TRet|heaCur.TSup|heaCur.TOut|heaCur1.TSetZon|heaCur1.TRet|heaCur1.TSup",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.56/1.56, allocations: 249.3 MB / 261.8 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 176.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007975/0.0007975, allocations: 78.55 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.926e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1845, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7193/0.9039, allocations: 132.1 MB / 1.021 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.9041, allocations: 75.38 kB / 1.021 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00602/0.9102, allocations: 2.068 MB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9102, allocations: 0 / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.9102, allocations: 0 / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007489/0.911, allocations: 444.8 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.911, allocations: 10.77 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.9111, allocations: 11.91 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.9113, allocations: 191.1 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.9113, allocations: 4 kB / 1.024 GB, free: 36 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.9113, allocations: 11.31 kB / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.9116, allocations: 116.8 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.9116, allocations: 0 / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.9116, allocations: 7.953 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9116, allocations: 0 / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.9118, allocations: 80.16 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008837/0.9127, allocations: 0.5035 MB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.913, allocations: 131.6 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.896e-05/0.9131, allocations: 51.2 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.9131, allocations: 3.938 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.9134, allocations: 122.7 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.9134, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0003098/0.9137, allocations: 124.9 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.9138, allocations: 81.11 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.914, allocations: 163 kB / 1.025 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.914, allocations: 28.95 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.9141, allocations: 115.7 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.9142, allocations: 37.45 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.9142, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9143, allocations: 329.6 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/0.9144, allocations: 45.12 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.894e-05/0.9145, allocations: 52.78 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.197e-05/0.9146, allocations: 42.38 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9146, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002491/0.9149, allocations: 147.9 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.9149, allocations: 4 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.9149, allocations: 3.984 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.9149, allocations: 8.125 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.9151, allocations: 39.97 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.9152, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.9153, allocations: 31.7 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.9154, allocations: 4 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TRoo1.T_start,TRoo1.T_start,$PRE.TRoo1.count,TRoo1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.363e-05/0.9155, allocations: 120.3 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.9155, allocations: 11.91 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.9158, allocations: 154.2 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.9158, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9158, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.9158, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.9161, allocations: 230.6 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9161, allocations: 3.953 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.9163, allocations: 39.78 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.9163, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.9163, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.9163, allocations: 0.7031 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.9163, allocations: 3.984 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.9166, allocations: 181.3 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.9166, allocations: 88.92 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.9167, allocations: 3.812 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.9168, allocations: 23.97 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.9169, allocations: 15.48 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.9169, allocations: 7.984 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.172e-05/0.917, allocations: 129.5 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.917, allocations: 0 / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000207/0.9172, allocations: 35.5 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001376/0.9174, allocations: 107.8 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.9176, allocations: 102.4 kB / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9176, allocations: 0 / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.9177, allocations: 55.67 kB / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.9181, allocations: 55.8 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.9185, allocations: 168.3 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.9187, allocations: 0.7165 MB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.824e-05/0.9189, allocations: 17.2 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.9189, allocations: 19.42 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of SimCode: time 3.01e-07/0.9189, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of Templates: time 0.004896/0.9238, allocations: 2.256 MB / 1.03 GB, free: 9.539 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches