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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009044/0.0009045, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009364/0.0009367, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.855/2.855, allocations: 436.5 MB / 0.7104 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 15.98 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8537/0.8541, allocations: 153.6 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002435/0.8566, allocations: 1.713 MB / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002999/0.8596, allocations: 1.467 MB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.8599, allocations: 8 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.1e-05/0.86, allocations: 35.58 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.8603, allocations: 87.75 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007874/0.8611, allocations: 214.8 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.8616, allocations: 369.3 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004/0.862, allocations: 265 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.8622, allocations: 139.3 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.8624, allocations: 163 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.988e-05/0.8625, allocations: 16 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-05/0.8626, allocations: 27.98 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.8626, allocations: 67.62 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.8627, allocations: 117.4 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.8633, allocations: 0.5862 MB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.8633, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8633, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.8633, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 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.001135/0.8644, allocations: 0.7309 MB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.8645, allocations: 11.98 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.8646, allocations: 59.34 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.8651, allocations: 350.5 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.523e-05/0.8652, allocations: 41.31 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.8653, allocations: 59.98 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009048/0.8662, allocations: 0.5025 MB / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.8662, allocations: 4 kB / 1.028 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.8663, allocations: 20 kB / 1.028 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.8663, allocations: 12 kB / 1.028 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006916/0.867, allocations: 372.6 kB / 1.028 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.8691, allocations: 1.461 MB / 1.029 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.8697, allocations: 285.6 kB / 1.03 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.8698, allocations: 19.92 kB / 1.03 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/0.8702, allocations: 206.8 kB / 1.03 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.794e-06/0.8702, allocations: 0 / 1.03 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0008497/0.871, allocations: 401.2 kB / 1.03 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.8711, allocations: 85.39 kB / 1.03 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/0.8715, allocations: 409.5 kB / 1.031 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.8716, allocations: 37.7 kB / 1.031 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.8718, allocations: 263.9 kB / 1.031 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.8719, allocations: 118.3 kB / 1.031 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.8719, allocations: 4 kB / 1.031 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.872, allocations: 358.8 kB / 1.032 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.8723, allocations: 128.8 kB / 1.032 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.8727, allocations: 211.3 kB / 1.032 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.873, allocations: 191.4 kB / 1.032 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.873, allocations: 0 / 1.032 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008375/0.8738, allocations: 481.1 kB / 1.033 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.8739, allocations: 37.7 kB / 1.033 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8739, allocations: 4 kB / 1.033 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.8739, allocations: 7.953 kB / 1.033 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.8742, allocations: 79.89 kB / 1.033 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.8743, allocations: 4 kB / 1.033 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.8747, allocations: 95.48 kB / 1.033 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.8747, allocations: 16 kB / 1.033 GB, free: 4.531 MB / 0.7794 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,$PRE.TRoo1.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.8749, allocations: 175.4 kB / 1.033 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.875, allocations: 43.53 kB / 1.033 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006362/0.8756, allocations: 333.1 kB / 1.033 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.8757, allocations: 11.94 kB / 1.033 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.8757, allocations: 4 kB / 1.033 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.8757, allocations: 0 / 1.033 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.8769, allocations: 0.9772 MB / 1.034 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.8769, allocations: 0 / 1.034 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.8772, allocations: 59.91 kB / 1.034 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.8772, allocations: 4 kB / 1.034 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.8772, allocations: 8 kB / 1.034 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-06/0.8772, allocations: 4 kB / 1.034 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.8772, allocations: 4.188 kB / 1.034 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006831/0.8779, allocations: 0.6021 MB / 1.035 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.878, allocations: 124.6 kB / 1.035 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.8781, allocations: 15.92 kB / 1.035 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.8783, allocations: 12 kB / 1.035 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.8784, allocations: 27.91 kB / 1.035 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.8784, allocations: 19.94 kB / 1.035 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003295/0.8787, allocations: 287.2 kB / 1.035 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.477e-06/0.8787, allocations: 0 / 1.035 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005509/0.8793, allocations: 115.6 kB / 1.035 GB, free: 1.547 MB / 0.7794 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 (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.0002183/0.8795, allocations: 111.1 kB / 1.036 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007828/0.8803, allocations: 388.1 kB / 1.036 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8803, allocations: 0 / 1.036 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.8806, allocations: 136.5 kB / 1.036 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.8811, allocations: 61.53 kB / 1.036 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.8824, allocations: 0.8831 MB / 1.037 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.8828, allocations: 0.8354 MB / 1.038 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.8829, allocations: 39.27 kB / 1.038 GB, free: 15.01 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.883, allocations: 39.42 kB / 1.038 GB, free: 14.97 MB / 0.795 GB Notification: Performance of SimCode: time 8.72e-07/0.883, allocations: 0 / 1.038 GB, free: 14.97 MB / 0.795 GB Notification: Performance of Templates: time 0.007923/0.8909, allocations: 3.562 MB / 1.041 GB, free: 11.47 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches