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.00115/0.00115, allocations: 112.6 kB / 16.37 MB, free: 6 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.001124/0.001124, allocations: 196 kB / 17.31 MB, free: 5.613 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.588/2.588, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 56.31 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3553, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004676/0.3601, allocations: 2.232 MB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.3632, allocations: 1.525 MB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.3636, allocations: 8 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.3638, allocations: 59.2 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.3642, allocations: 91.08 kB / 1.031 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008219/0.365, allocations: 303 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006651/0.3657, allocations: 0.6566 MB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004854/0.3662, allocations: 353.8 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.3664, allocations: 231.2 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.3667, allocations: 262.8 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.413e-05/0.3668, allocations: 68 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3669, allocations: 79.98 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.3671, allocations: 135.5 kB / 1.033 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.3673, allocations: 294.5 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007585/0.3681, allocations: 0.7862 MB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3681, allocations: 0 / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3681, allocations: 4 kB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.3682, allocations: 4 kB / 1.034 GB, free: 10.98 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.001405/0.3696, allocations: 0.8129 MB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.3696, allocations: 8.031 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.3698, allocations: 60.28 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.3703, allocations: 359.6 kB / 1.035 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/0.3704, allocations: 45.67 kB / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.3704, allocations: 52.38 kB / 1.035 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008689/0.3713, allocations: 0.5031 MB / 1.035 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3713, allocations: 4.125 kB / 1.035 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.3714, allocations: 23.94 kB / 1.035 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.3714, allocations: 16 kB / 1.035 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000691/0.3721, allocations: 364.6 kB / 1.036 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.3742, allocations: 1.449 MB / 1.037 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.3748, allocations: 281.3 kB / 1.037 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.3753, allocations: 181.6 kB / 1.038 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.3753, allocations: 7.938 kB / 1.038 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004201/0.3757, allocations: 207.4 kB / 1.038 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.3757, allocations: 0 / 1.038 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.0008234/0.3766, allocations: 383.3 kB / 1.038 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.3766, allocations: 81.11 kB / 1.038 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004901/0.3771, allocations: 413.5 kB / 1.039 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.3772, allocations: 33.7 kB / 1.039 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.3774, allocations: 267.9 kB / 1.039 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3775, allocations: 118.3 kB / 1.039 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.3777, allocations: 82.11 kB / 1.039 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3779, allocations: 350.8 kB / 1.04 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.3782, allocations: 128.8 kB / 1.04 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.3785, allocations: 219 kB / 1.04 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.379, allocations: 340 kB / 1.04 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3791, allocations: 0 / 1.04 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008502/0.3799, allocations: 470.8 kB / 1.041 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.38, allocations: 37.69 kB / 1.041 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.38, allocations: 4.188 kB / 1.041 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.38, allocations: 8 kB / 1.041 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.3804, allocations: 87.83 kB / 1.041 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3804, allocations: 7.938 kB / 1.041 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.3807, allocations: 83.25 kB / 1.041 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.3808, allocations: 19.98 kB / 1.041 GB, free: 3.227 MB / 0.8106 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.0002112/0.381, allocations: 177.7 kB / 1.041 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.3811, allocations: 43.52 kB / 1.041 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006896/0.3818, allocations: 324.9 kB / 1.041 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3818, allocations: 4 kB / 1.041 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3818, allocations: 3.938 kB / 1.041 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.3818, allocations: 3.984 kB / 1.041 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.3831, allocations: 0.977 MB / 1.042 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3831, allocations: 4 kB / 1.042 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.3834, allocations: 59.91 kB / 1.042 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.3834, allocations: 8.188 kB / 1.042 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.3834, allocations: 8 kB / 1.042 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.3834, allocations: 11.88 kB / 1.042 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3834, allocations: 0 / 1.042 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.384, allocations: 0.5084 MB / 1.043 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3842, allocations: 132.4 kB / 1.043 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.3842, allocations: 8 kB / 1.043 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.3845, allocations: 11.98 kB / 1.043 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.3845, allocations: 27.97 kB / 1.043 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.3846, allocations: 15.94 kB / 1.043 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002922/0.3849, allocations: 287.2 kB / 1.043 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3849, allocations: 0 / 1.043 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000487/0.3854, allocations: 111.7 kB / 1.043 GB, free: 392 kB / 0.8106 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.000189/0.3856, allocations: 111.2 kB / 1.044 GB, free: 272 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007424/0.3863, allocations: 380 kB / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3863, allocations: 0 / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.3866, allocations: 143.8 kB / 1.044 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.3872, allocations: 70.22 kB / 1.044 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.3884, allocations: 0.7315 MB / 1.045 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.3889, allocations: 0.8198 MB / 1.046 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.389, allocations: 47.25 kB / 1.046 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.298e-05/0.3891, allocations: 35.44 kB / 1.046 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3891, allocations: 0 / 1.046 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of Templates: time 0.00881/0.398, allocations: 3.962 MB / 1.05 GB, free: 10.08 MB / 0.8262 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 -s cvode -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