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.549/1.549, allocations: 249.5 MB / 257 MB, free: 6.996 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.00107/0.00107, allocations: 183.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0009734/0.0009735, allocations: 97.84 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.664e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2002, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6847/0.885, allocations: 132.4 MB / 1.015 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.8853, allocations: 70.31 kB / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008915/0.8942, allocations: 2.051 MB / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8943, allocations: 3.938 kB / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.8943, allocations: 4 kB / 1.017 GB, free: 3.629 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.000978/0.8953, allocations: 448.3 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.8953, allocations: 10.77 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.8954, allocations: 11.91 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.8957, allocations: 185.7 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.8957, allocations: 4 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.8957, allocations: 8 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002564/0.896, allocations: 71.56 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.8963, allocations: 105.8 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.8963, allocations: 7.953 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.8964, allocations: 0 / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.8964, allocations: 0 / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.8975, allocations: 489.2 kB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.8979, allocations: 123 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.8981, allocations: 44.91 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.8981, allocations: 4 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.8984, allocations: 116.2 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.893e-06/0.8984, allocations: 0 / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0003956/0.8988, allocations: 123.9 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.8989, allocations: 81.11 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.8991, allocations: 143.3 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.8992, allocations: 25.7 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.8993, allocations: 115.6 kB / 1.019 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.8993, allocations: 35.39 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.8994, allocations: 0 / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.8995, allocations: 326.6 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.8996, allocations: 31.62 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.8998, allocations: 60.89 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.8999, allocations: 32.67 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8999, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003644/0.9003, allocations: 143.6 kB / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.9003, allocations: 4 kB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.9003, allocations: 4 kB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.9004, allocations: 128 / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.9007, allocations: 43.97 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.9008, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.901, allocations: 23.97 kB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.9011, allocations: 7.875 kB / 1.019 GB, free: 0.9336 MB / 0.6355 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 0.0001206/0.9012, allocations: 117.7 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.9013, allocations: 19.75 kB / 1.019 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.9017, allocations: 141.5 kB / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9017, allocations: 0 / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9017, allocations: 4 kB / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.9017, allocations: 0 / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.902, allocations: 204.2 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.902, allocations: 4 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.9023, allocations: 35.97 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.9023, allocations: 0 / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.9023, allocations: 3.953 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.9024, allocations: 0 / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9024, allocations: 4 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.9027, allocations: 164.1 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.9028, allocations: 92.92 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.9029, allocations: 7.953 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.9032, allocations: 19.97 kB / 1.02 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.9033, allocations: 19.91 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.9033, allocations: 4 kB / 1.02 GB, free: 104 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001097/0.9034, allocations: 119 kB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9034, allocations: 0 / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003947/0.9039, allocations: 39.98 kB / 1.02 GB, free: 15.96 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.0001635/0.904, allocations: 102.1 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.9043, allocations: 96.05 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.9044, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.9045, allocations: 51.19 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.905, allocations: 43.66 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.9055, allocations: 156.9 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.9059, allocations: 0.7162 MB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000159/0.906, allocations: 12.73 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.9061, allocations: 15.44 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/0.9061, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of Templates: time 0.006704/0.9129, allocations: 1.997 MB / 1.023 GB, free: 12.88 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