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.001475/0.001475, allocations: 105.9 kB / 15.98 MB, free: 6.344 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.001522/0.001522, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.551/2.551, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 66.3 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2845, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003517/0.288, allocations: 2.253 MB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.2901, allocations: 1.493 MB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.2903, allocations: 8 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.2904, allocations: 35.58 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.2906, allocations: 67.45 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006413/0.2913, allocations: 271.2 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006221/0.2919, allocations: 0.6409 MB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004868/0.2924, allocations: 365.8 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.2926, allocations: 223.3 kB / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.2929, allocations: 254.7 kB / 1.07 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.287e-05/0.293, allocations: 72 kB / 1.07 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.2931, allocations: 83.98 kB / 1.07 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.2933, allocations: 127.6 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.2935, allocations: 294.5 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.2941, allocations: 0.6004 MB / 1.071 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2941, allocations: 7.984 kB / 1.071 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2941, allocations: 0 / 1.071 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.2941, allocations: 0 / 1.071 GB, free: 8.324 MB / 0.8419 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.001189/0.2953, allocations: 0.809 MB / 1.072 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2954, allocations: 12.02 kB / 1.072 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.2955, allocations: 60.28 kB / 1.072 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.2959, allocations: 355.7 kB / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.296, allocations: 45.62 kB / 1.072 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/0.296, allocations: 60.38 kB / 1.072 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/0.2969, allocations: 0.5069 MB / 1.073 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.297, allocations: 192 / 1.073 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.297, allocations: 27.92 kB / 1.073 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.297, allocations: 12 kB / 1.073 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006788/0.2977, allocations: 360.7 kB / 1.073 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.2998, allocations: 1.465 MB / 1.074 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.3004, allocations: 285.4 kB / 1.075 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/0.3008, allocations: 183 kB / 1.075 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.3008, allocations: 4 kB / 1.075 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/0.3012, allocations: 198.9 kB / 1.075 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 1.562e-06/0.3012, allocations: 0 / 1.075 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0008114/0.302, allocations: 399.1 kB / 1.075 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.3021, allocations: 81.11 kB / 1.075 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.3026, allocations: 417.5 kB / 1.076 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.3026, allocations: 29.7 kB / 1.076 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.3028, allocations: 271.9 kB / 1.076 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.613e-05/0.3029, allocations: 106.4 kB / 1.076 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.3031, allocations: 86.12 kB / 1.076 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002309/0.3033, allocations: 354.8 kB / 1.077 GB, free: 2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.3036, allocations: 128.8 kB / 1.077 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.304, allocations: 211.1 kB / 1.077 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005748/0.3046, allocations: 347.9 kB / 1.077 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3046, allocations: 0 / 1.077 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008518/0.3055, allocations: 478.9 kB / 1.078 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.3055, allocations: 41.69 kB / 1.078 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3055, allocations: 0 / 1.078 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3056, allocations: 4 kB / 1.078 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.3059, allocations: 84.09 kB / 1.078 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3059, allocations: 7.922 kB / 1.078 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.3063, allocations: 71.41 kB / 1.078 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.3063, allocations: 19.98 kB / 1.078 GB, free: 0.5664 MB / 0.8419 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.0001972/0.3065, allocations: 173.7 kB / 1.078 GB, free: 396 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.3066, allocations: 39.53 kB / 1.078 GB, free: 356 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006228/0.3072, allocations: 336.7 kB / 1.079 GB, free: 20 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3072, allocations: 4 kB / 1.079 GB, free: 16 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.3072, allocations: 7.875 kB / 1.079 GB, free: 8 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3072, allocations: 3.984 kB / 1.079 GB, free: 4 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4486/0.7559, allocations: 0.9537 MB / 1.079 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.7559, allocations: 7.156 kB / 1.079 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.7562, allocations: 62.42 kB / 1.08 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.7562, allocations: 3.828 kB / 1.08 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.7562, allocations: 7.516 kB / 1.08 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.7562, allocations: 5.406 kB / 1.08 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.7562, allocations: 4.375 kB / 1.08 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.7568, allocations: 0.5103 MB / 1.08 GB, free: 21.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.7569, allocations: 129.9 kB / 1.08 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.757, allocations: 7.656 kB / 1.08 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.7572, allocations: 14.91 kB / 1.08 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.7573, allocations: 26.03 kB / 1.08 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.7573, allocations: 13.8 kB / 1.08 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000299/0.7576, allocations: 290.5 kB / 1.08 GB, free: 21.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7576, allocations: 0 / 1.08 GB, free: 21.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004965/0.7581, allocations: 115.1 kB / 1.081 GB, free: 21.45 MB / 0.8419 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.0001492/0.7583, allocations: 110.6 kB / 1.081 GB, free: 21.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006613/0.7589, allocations: 394 kB / 1.081 GB, free: 21.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.759, allocations: 7 kB / 1.081 GB, free: 21.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.7592, allocations: 149.5 kB / 1.081 GB, free: 21.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.7598, allocations: 64.56 kB / 1.081 GB, free: 21.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.7609, allocations: 0.953 MB / 1.082 GB, free: 20.51 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.7612, allocations: 0.8194 MB / 1.083 GB, free: 19.81 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.584e-05/0.7613, allocations: 39.89 kB / 1.083 GB, free: 19.8 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.7613, allocations: 0 / 1.083 GB, free: 19.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.009042/0.7703, allocations: 4.999 MB / 1.088 GB, free: 19.27 MB / 0.8419 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=400 -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/jenkins1/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