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.009099/0.009099, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.001805/0.001805, allocations: 192.8 kB / 16.79 MB, free: 5.809 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.83 kB / 0.899 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3017, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003726/0.3055, allocations: 2.237 MB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.3079, allocations: 1.521 MB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003752/0.3083, allocations: 12 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.3085, allocations: 35.58 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.3089, allocations: 59.48 kB / 1.057 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007264/0.3096, allocations: 270.2 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007116/0.3103, allocations: 0.5824 MB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005311/0.3109, allocations: 345.8 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003159/0.3112, allocations: 191.2 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.3115, allocations: 238.8 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.151e-05/0.3116, allocations: 40 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.3117, allocations: 43.98 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.119e-05/0.3118, allocations: 91.62 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.3121, allocations: 266.5 kB / 1.059 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.3126, allocations: 0.5926 MB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3126, allocations: 4 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3126, allocations: 0 / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.3127, allocations: 3.938 kB / 1.059 GB, free: 1.762 MB / 0.8106 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.001392/0.3141, allocations: 0.8206 MB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3141, allocations: 11.97 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.3142, allocations: 60.28 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.3147, allocations: 355.7 kB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.3148, allocations: 41.69 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/0.3148, allocations: 60.38 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009148/0.3158, allocations: 0.5069 MB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3158, allocations: 192 / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/0.3158, allocations: 27.94 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3159, allocations: 12 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006955/0.3166, allocations: 356.7 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.3187, allocations: 1.461 MB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005808/0.3193, allocations: 285.2 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.3197, allocations: 177.8 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.3198, allocations: 7.984 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004343/0.3202, allocations: 202.8 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 2.195e-06/0.3202, allocations: 3.938 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0008545/0.3211, allocations: 391.8 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3211, allocations: 85.05 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.3216, allocations: 421.5 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.3216, allocations: 29.7 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.3218, allocations: 263.9 kB / 1.064 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.746e-05/0.3219, allocations: 106.5 kB / 1.065 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.3221, allocations: 82.03 kB / 1.065 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3222, allocations: 358.8 kB / 1.065 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.3225, allocations: 128.8 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.3229, allocations: 211.1 kB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.3235, allocations: 342.9 kB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3235, allocations: 0 / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008586/0.3244, allocations: 483.4 kB / 1.066 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.3244, allocations: 37.7 kB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3244, allocations: 7.922 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3244, allocations: 4 kB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.3248, allocations: 75.91 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.3248, allocations: 7.938 kB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.3252, allocations: 79.52 kB / 1.066 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.3252, allocations: 19.94 kB / 1.066 GB, free: 9.984 MB / 0.8262 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.0001977/0.3254, allocations: 177.6 kB / 1.067 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.3255, allocations: 43.44 kB / 1.067 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/0.3261, allocations: 328.9 kB / 1.067 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3262, allocations: 8 kB / 1.067 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3262, allocations: 3.938 kB / 1.067 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3262, allocations: 3.984 kB / 1.067 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.3274, allocations: 0.9618 MB / 1.068 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.3274, allocations: 4 kB / 1.068 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.3277, allocations: 59.89 kB / 1.068 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.3277, allocations: 4 kB / 1.068 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.3277, allocations: 12 kB / 1.068 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.3277, allocations: 4 kB / 1.068 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3277, allocations: 0 / 1.068 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/0.3284, allocations: 0.5055 MB / 1.068 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.3285, allocations: 136.4 kB / 1.069 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.3286, allocations: 8 kB / 1.069 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.3288, allocations: 15.98 kB / 1.069 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.3289, allocations: 23.97 kB / 1.069 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.3289, allocations: 15.94 kB / 1.069 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003086/0.3292, allocations: 287.2 kB / 1.069 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3292, allocations: 0 / 1.069 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000477/0.3297, allocations: 111.7 kB / 1.069 GB, free: 7.156 MB / 0.8262 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.000163/0.3299, allocations: 119.2 kB / 1.069 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006949/0.3306, allocations: 372 kB / 1.069 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.3306, allocations: 4 kB / 1.069 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.3309, allocations: 153.2 kB / 1.07 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/0.3315, allocations: 61.47 kB / 1.07 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.3329, allocations: 0.9603 MB / 1.071 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.3333, allocations: 0.8237 MB / 1.071 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3334, allocations: 35.42 kB / 1.071 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of SimCode: time 4.8e-07/0.3334, allocations: 0 / 1.071 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of Templates: time 0.009024/0.3425, allocations: 4.991 MB / 1.076 GB, free: 15.56 MB / 0.8419 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