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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001473/0.001473, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.621/1.621, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 61.55 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3507, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004352/0.3551, allocations: 2.214 MB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002651/0.3578, allocations: 1.524 MB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004863/0.3583, allocations: 12 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.3585, allocations: 59.2 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004915/0.3591, allocations: 87.09 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009995/0.3601, allocations: 303.5 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00077/0.3609, allocations: 0.6372 MB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005326/0.3614, allocations: 369.7 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.3617, allocations: 231.2 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.362, allocations: 258.7 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.955e-05/0.3621, allocations: 72 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.3622, allocations: 83.98 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.3624, allocations: 127.6 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.3626, allocations: 290.5 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007616/0.3634, allocations: 0.7673 MB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3634, allocations: 0 / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3634, allocations: 0 / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.3634, allocations: 4 kB / 1.075 GB, free: 3.336 MB / 0.8262 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.001234/0.3647, allocations: 0.8129 MB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3647, allocations: 8.031 kB / 1.076 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.3649, allocations: 64.28 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.3653, allocations: 343.7 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.3653, allocations: 45.69 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.03e-05/0.3654, allocations: 60.31 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008162/0.3662, allocations: 0.5031 MB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3663, allocations: 192 / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.3663, allocations: 27.94 kB / 1.077 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.3664, allocations: 16 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.3671, allocations: 356.7 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.3691, allocations: 1.465 MB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/0.3697, allocations: 287.2 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.3701, allocations: 173.6 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.3701, allocations: 12 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003953/0.3705, allocations: 210.8 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 2.344e-06/0.3705, allocations: 0 / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0008825/0.3714, allocations: 390.8 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.3715, allocations: 81.11 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/0.372, allocations: 413.5 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.372, allocations: 33.7 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.3722, allocations: 263.9 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.474e-05/0.3723, allocations: 118.3 kB / 1.081 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.3725, allocations: 86.05 kB / 1.081 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3727, allocations: 354.7 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.373, allocations: 136.8 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.3733, allocations: 203.1 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005991/0.3739, allocations: 341.4 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3739, allocations: 0 / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009072/0.3749, allocations: 485.2 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.3749, allocations: 37.69 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3749, allocations: 0 / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.375, allocations: 7.984 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.3753, allocations: 75.91 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3753, allocations: 11.92 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.3757, allocations: 87.03 kB / 1.082 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.3758, allocations: 19.98 kB / 1.082 GB, free: 11.57 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.0002013/0.376, allocations: 169.7 kB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.376, allocations: 39.53 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.3767, allocations: 330.6 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3767, allocations: 4 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3767, allocations: 3.938 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.3767, allocations: 3.984 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.3781, allocations: 0.9707 MB / 1.084 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.3781, allocations: 4 kB / 1.084 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.3783, allocations: 59.91 kB / 1.084 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.3784, allocations: 4 kB / 1.084 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.3784, allocations: 8 kB / 1.084 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.3784, allocations: 4 kB / 1.084 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3784, allocations: 192 / 1.084 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.379, allocations: 0.5186 MB / 1.084 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-05/0.3791, allocations: 124.6 kB / 1.084 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.3792, allocations: 8 kB / 1.084 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.3794, allocations: 15.98 kB / 1.084 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.3795, allocations: 19.97 kB / 1.085 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.3795, allocations: 15.94 kB / 1.085 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002953/0.3798, allocations: 299.1 kB / 1.085 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3798, allocations: 0 / 1.085 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004933/0.3803, allocations: 107.7 kB / 1.085 GB, free: 8.75 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.0002113/0.3805, allocations: 119.6 kB / 1.085 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008265/0.3813, allocations: 395.3 kB / 1.085 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3814, allocations: 8.062 kB / 1.085 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.3816, allocations: 135.8 kB / 1.086 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.3823, allocations: 65.91 kB / 1.086 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.3837, allocations: 0.7431 MB / 1.086 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.3842, allocations: 0.8274 MB / 1.087 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001703/0.3844, allocations: 43.27 kB / 1.087 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/0.3844, allocations: 31.44 kB / 1.087 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of SimCode: time 7.81e-07/0.3844, allocations: 0 / 1.087 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of Templates: time 0.009506/0.394, allocations: 3.977 MB / 1.091 GB, free: 2.395 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/jenkins/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