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.367/1.367, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001168, allocations: 185.9 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.00106/0.00106, allocations: 97.86 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.000391, allocations: 9 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2659, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1885/0.4545, allocations: 132.2 MB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4548, allocations: 71.95 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006422/0.4613, allocations: 2.057 MB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4613, allocations: 0 / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.4613, allocations: 4 kB / 1.031 GB, free: 9.473 MB / 0.6823 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.0008811/0.4622, allocations: 466.7 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4623, allocations: 8.031 kB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.242e-05/0.4624, allocations: 15.81 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.4625, allocations: 190.8 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.4626, allocations: 4 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.4626, allocations: 15.98 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.463, allocations: 158 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.463, allocations: 0 / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.4631, allocations: 7.953 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4631, allocations: 0 / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.4635, allocations: 151.8 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/0.4645, allocations: 0.5005 MB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.465, allocations: 185.2 kB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.4651, allocations: 7.984 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004205/0.4655, allocations: 149.1 kB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.4655, allocations: 4 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.0007826/0.4663, allocations: 273.3 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.4664, allocations: 77.11 kB / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.4665, allocations: 158.4 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.4666, allocations: 29.7 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.4667, allocations: 116 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.4667, allocations: 43.45 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.4667, allocations: 4 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4669, allocations: 322.8 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.4671, allocations: 75.95 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.4674, allocations: 93.66 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.4676, allocations: 76.06 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4676, allocations: 11.83 kB / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005209/0.4681, allocations: 217.4 kB / 1.034 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4682, allocations: 4 kB / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4682, allocations: 0 / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.4682, allocations: 7.984 kB / 1.034 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.4684, allocations: 43.91 kB / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4684, allocations: 0 / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.4686, allocations: 23.89 kB / 1.035 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.4687, allocations: 8 kB / 1.035 GB, free: 5.828 MB / 0.6823 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 () * Number of clocked 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.0001177/0.4688, allocations: 126.8 kB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.4688, allocations: 15.86 kB / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000584/0.4694, allocations: 227.5 kB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4694, allocations: 0 / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.4694, allocations: 8.062 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4695, allocations: 0 / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.4697, allocations: 233.4 kB / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4697, allocations: 3.984 kB / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.4699, allocations: 31.94 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4699, allocations: 7.938 kB / 1.035 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.4699, allocations: 8 kB / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4699, allocations: 0 / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.47, allocations: 4.062 kB / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.4705, allocations: 248 kB / 1.035 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.4706, allocations: 85.02 kB / 1.036 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.4706, allocations: 4 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.4708, allocations: 27.97 kB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.4709, allocations: 11.98 kB / 1.036 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.4709, allocations: 7.984 kB / 1.036 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001022/0.471, allocations: 131.2 kB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.471, allocations: 0 / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002268/0.4713, allocations: 43.84 kB / 1.036 GB, free: 4.523 MB / 0.6823 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) * Number of clocked states: 0 () * 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.0001666/0.4714, allocations: 115.1 kB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.472, allocations: 176 kB / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.472, allocations: 0 / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.4722, allocations: 87.94 kB / 1.036 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.4726, allocations: 63.02 kB / 1.036 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.4732, allocations: 286.9 kB / 1.036 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.4735, allocations: 0.7127 MB / 1.037 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.4736, allocations: 17.42 kB / 1.037 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.4737, allocations: 15.44 kB / 1.037 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.4737, allocations: 0 / 1.037 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of Templates: time 0.005217/0.4789, allocations: 2.232 MB / 1.039 GB, free: 0.8398 MB / 0.6823 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