Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.006193/0.006193, allocations: 99.45 kB / 15.73 MB, free: 6.043 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.001342/0.001342, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.433/1.433, 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.891/2.891, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3874, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003276/0.3907, allocations: 2.214 MB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.393, allocations: 1.536 MB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.3933, allocations: 8 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.3934, allocations: 59.2 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.3937, allocations: 95.09 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007512/0.3945, allocations: 299.3 kB / 1.225 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005931/0.3951, allocations: 0.6371 MB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003768/0.3954, allocations: 269.8 kB / 1.226 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.3957, allocations: 227.2 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.3959, allocations: 262.7 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/0.396, allocations: 72 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.3961, allocations: 79.98 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.035e-05/0.3962, allocations: 135.6 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.3964, allocations: 294.5 kB / 1.227 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007318/0.3972, allocations: 0.7936 MB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3972, allocations: 0 / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3972, allocations: 0 / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.3972, allocations: 0 / 1.227 GB, free: 6.871 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001208/0.3984, allocations: 0.8355 MB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3984, allocations: 12.03 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.3985, allocations: 64.5 kB / 1.228 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.3989, allocations: 359.8 kB / 1.229 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.399, allocations: 41.69 kB / 1.229 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-05/0.399, allocations: 56.38 kB / 1.229 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007581/0.3998, allocations: 0.5031 MB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.3998, allocations: 4.188 kB / 1.229 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.3998, allocations: 27.92 kB / 1.229 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.3999, allocations: 12 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.4005, allocations: 364.6 kB / 1.23 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.4025, allocations: 1.442 MB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.403, allocations: 265.4 kB / 1.231 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/0.4034, allocations: 169.6 kB / 1.231 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.4034, allocations: 7.938 kB / 1.231 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004482/0.4039, allocations: 202.9 kB / 1.232 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/0.4039, allocations: 0 / 1.232 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.000834/0.4047, allocations: 393.5 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.4048, allocations: 85.11 kB / 1.232 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.4052, allocations: 409.6 kB / 1.232 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.4053, allocations: 33.7 kB / 1.232 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.4055, allocations: 272.4 kB / 1.233 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.684e-05/0.4056, allocations: 119 kB / 1.233 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.4057, allocations: 86.08 kB / 1.233 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.4059, allocations: 350.8 kB / 1.233 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.4062, allocations: 132.8 kB / 1.233 GB, free: 436 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.4065, allocations: 211 kB / 1.234 GB, free: 200 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.4071, allocations: 340.4 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4071, allocations: 4 kB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008187/0.4079, allocations: 476.2 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.4079, allocations: 45.88 kB / 1.234 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.408, allocations: 0 / 1.234 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.408, allocations: 4 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.4083, allocations: 75.91 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4083, allocations: 15.81 kB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.4086, allocations: 95.41 kB / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.4087, allocations: 19.98 kB / 1.235 GB, free: 15.1 MB / 0.9981 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.0001759/0.4088, allocations: 170.3 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.4089, allocations: 43.72 kB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005893/0.4095, allocations: 331 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.4095, allocations: 4 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4095, allocations: 3.938 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4095, allocations: 3.984 kB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.4106, allocations: 0.9669 MB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4106, allocations: 3.984 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.4108, allocations: 64.09 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.4108, allocations: 4 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.4108, allocations: 12 kB / 1.236 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4108, allocations: 0 / 1.236 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.4108, allocations: 7.938 kB / 1.236 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006074/0.4115, allocations: 0.5126 MB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.094e-05/0.4115, allocations: 128.8 kB / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.4116, allocations: 8 kB / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.4118, allocations: 15.98 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.4119, allocations: 27.91 kB / 1.237 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.4119, allocations: 19.94 kB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000262/0.4122, allocations: 287.2 kB / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4122, allocations: 0 / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004121/0.4126, allocations: 103.8 kB / 1.237 GB, free: 12.27 MB / 0.9981 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.0001629/0.4127, allocations: 119.2 kB / 1.237 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006137/0.4133, allocations: 359 kB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4133, allocations: 0 / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.4136, allocations: 124.6 kB / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.4141, allocations: 73.45 kB / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.4152, allocations: 0.7643 MB / 1.239 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.4156, allocations: 0.8198 MB / 1.239 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.4158, allocations: 43.27 kB / 1.239 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.205e-05/0.4158, allocations: 31.44 kB / 1.24 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/0.4158, allocations: 0 / 1.24 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of Templates: time 0.00831/0.4241, allocations: 4.055 MB / 1.243 GB, free: 5.848 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches