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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00147/0.00147, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001663/0.001663, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.681/2.681, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001486, allocations: 59.91 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7867/0.7882, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.00368/0.7919, allocations: 2.209 MB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.7943, allocations: 1.536 MB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/0.7947, allocations: 8 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.7949, allocations: 59.2 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.7953, allocations: 91.08 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008105/0.7961, allocations: 299 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008006/0.7969, allocations: 0.641 MB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00056/0.7975, allocations: 369.8 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.7978, allocations: 227.2 kB / 1.214 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.7981, allocations: 258.8 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.7982, allocations: 72 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.7984, allocations: 87.92 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.7985, allocations: 123.6 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.7987, allocations: 294.6 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007397/0.7995, allocations: 0.7956 MB / 1.215 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7995, allocations: 0 / 1.215 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7995, allocations: 3.938 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.7995, allocations: 0 / 1.215 GB, free: 6.594 MB / 0.9356 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.001358/0.8009, allocations: 0.809 MB / 1.216 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.801, allocations: 8.031 kB / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.8011, allocations: 64.28 kB / 1.216 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.8015, allocations: 359.6 kB / 1.216 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.8016, allocations: 53.56 kB / 1.217 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.592e-05/0.8017, allocations: 56.38 kB / 1.217 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008591/0.8026, allocations: 0.5031 MB / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.8026, allocations: 192 / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.8026, allocations: 23.94 kB / 1.217 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.8027, allocations: 20 kB / 1.217 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007169/0.8034, allocations: 360.6 kB / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.8054, allocations: 1.441 MB / 1.219 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.806, allocations: 281.2 kB / 1.219 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.8064, allocations: 185.8 kB / 1.219 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.8065, allocations: 4 kB / 1.219 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004152/0.8069, allocations: 202.9 kB / 1.219 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.8069, allocations: 4 kB / 1.219 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0008112/0.8077, allocations: 389.4 kB / 1.22 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.8078, allocations: 81.11 kB / 1.22 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.8082, allocations: 417.5 kB / 1.22 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.8083, allocations: 29.7 kB / 1.22 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.8085, allocations: 267.9 kB / 1.221 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.542e-05/0.8086, allocations: 114.4 kB / 1.221 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.8087, allocations: 86.11 kB / 1.221 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.8089, allocations: 346.8 kB / 1.221 GB, free: 296 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.8092, allocations: 132.8 kB / 1.221 GB, free: 164 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.8095, allocations: 211 kB / 1.221 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.8101, allocations: 340 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.8102, allocations: 0 / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009138/0.8111, allocations: 480.4 kB / 1.222 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.8111, allocations: 41.64 kB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.8111, allocations: 0 / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.8112, allocations: 8.188 kB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.8115, allocations: 79.89 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.8115, allocations: 7.938 kB / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.8119, allocations: 75.34 kB / 1.222 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.8119, allocations: 23.97 kB / 1.222 GB, free: 14.85 MB / 0.9512 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.0001998/0.8121, allocations: 169.7 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.8122, allocations: 43.53 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006293/0.8128, allocations: 328.9 kB / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.8128, allocations: 7.984 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.8129, allocations: 3.938 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.8129, allocations: 3.984 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.8142, allocations: 0.9668 MB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8142, allocations: 4 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.8144, allocations: 63.91 kB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.8144, allocations: 4.188 kB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.8145, allocations: 12 kB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.8145, allocations: 4 kB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8145, allocations: 0 / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.8152, allocations: 0.5169 MB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.8153, allocations: 124.6 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/0.8154, allocations: 8 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.8156, allocations: 15.98 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.8157, allocations: 27.91 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.8157, allocations: 15.94 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003157/0.816, allocations: 287.2 kB / 1.225 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.816, allocations: 0 / 1.225 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004829/0.8165, allocations: 107.7 kB / 1.225 GB, free: 12.02 MB / 0.9512 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.0001992/0.8167, allocations: 123.1 kB / 1.225 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007676/0.8175, allocations: 379 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.8175, allocations: 4 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.8178, allocations: 145.6 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005726/0.8184, allocations: 66.22 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.8197, allocations: 0.7682 MB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.8201, allocations: 0.8237 MB / 1.227 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.8202, allocations: 31.44 kB / 1.227 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.8202, allocations: 4 kB / 1.227 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of Templates: time 0.00828/0.8285, allocations: 5.044 MB / 1.232 GB, free: 4.57 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches