Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008798/0.008798, allocations: 97.44 kB / 15.73 MB, free: 6.055 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.001907/0.001907, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.984/2.984, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 72.11 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4547, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003865/0.4585, allocations: 1.834 MB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004446/0.459, allocations: 111.7 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.4591, allocations: 7.938 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.4593, allocations: 11.86 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.4594, allocations: 47.55 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.4596, allocations: 31.95 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.4599, allocations: 175.1 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.4601, allocations: 21.09 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.4602, allocations: 59.78 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.4604, allocations: 63.77 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.4604, allocations: 12 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.819e-05/0.4604, allocations: 8 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.4605, allocations: 23.91 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.4606, allocations: 67.61 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.4609, allocations: 127.4 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.4609, allocations: 0 / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4609, allocations: 4 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.4609, allocations: 0 / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001058/0.4619, allocations: 454.8 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.462, allocations: 8.031 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.4621, allocations: 16.84 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.4625, allocations: 208.1 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.4625, allocations: 8.312 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.4625, allocations: 8.375 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.4629, allocations: 130.4 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4629, allocations: 192 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.4629, allocations: 3.938 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.4629, allocations: 4 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.4632, allocations: 99.86 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008607/0.4641, allocations: 472.7 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.4645, allocations: 129.2 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.4647, allocations: 57.78 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.4647, allocations: 0 / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.4647, allocations: 42.44 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.4647, allocations: 0 / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005973/0.4653, allocations: 177.5 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.4654, allocations: 85.05 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.4656, allocations: 171.4 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.4656, allocations: 29.7 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.909e-05/0.4657, allocations: 104.1 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.4657, allocations: 31.75 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.4658, allocations: 29.7 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4659, allocations: 330.8 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.466, allocations: 39.97 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.4662, allocations: 57.69 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.4664, allocations: 105.6 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4664, allocations: 0 / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003205/0.4668, allocations: 141.9 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4668, allocations: 9.562 kB / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4668, allocations: 0 / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.4668, allocations: 0 / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.467, allocations: 35.92 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.467, allocations: 4 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.4671, allocations: 15.88 kB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.4671, allocations: 7.938 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001122/0.4672, allocations: 118.4 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.4673, allocations: 11.95 kB / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.4677, allocations: 162.5 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.4677, allocations: 4 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.4678, allocations: 0 / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.4678, allocations: 0 / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.4681, allocations: 225.6 kB / 1.226 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.4681, allocations: 0 / 1.226 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.4683, allocations: 23.97 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4683, allocations: 0 / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4683, allocations: 11.94 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4683, allocations: 0 / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4683, allocations: 0 / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.4687, allocations: 318.9 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.227e-05/0.4688, allocations: 88.98 kB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.4689, allocations: 11.98 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.469, allocations: 11.94 kB / 1.227 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.4691, allocations: 7.984 kB / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.4691, allocations: 7.938 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001115/0.4692, allocations: 127.2 kB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4692, allocations: 0 / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002867/0.4695, allocations: 31.98 kB / 1.227 GB, free: 6.746 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001895/0.4697, allocations: 103.2 kB / 1.227 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.4701, allocations: 95.88 kB / 1.227 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4701, allocations: 0 / 1.227 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.4702, allocations: 51.91 kB / 1.227 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.4707, allocations: 44.41 kB / 1.227 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006828/0.4714, allocations: 239.3 kB / 1.228 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.4717, allocations: 0.7044 MB / 1.228 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.455e-05/0.4717, allocations: 16.64 kB / 1.228 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.4718, allocations: 11.44 kB / 1.228 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.4718, allocations: 0 / 1.228 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of Templates: time 0.005741/0.4775, allocations: 2.122 MB / 1.23 GB, free: 3.352 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches