Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006675/0.006675, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001248/0.001248, allocations: 193.3 kB / 16.67 MB, free: 5.977 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.568/2.568, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 61.73 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.34, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003269/0.3433, allocations: 2.216 MB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.3454, allocations: 1.525 MB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.3455, allocations: 8 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.3457, allocations: 59.2 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.3459, allocations: 95.02 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007313/0.3467, allocations: 295 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006147/0.3473, allocations: 0.6565 MB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004649/0.3478, allocations: 365.8 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.348, allocations: 227.2 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.3483, allocations: 258.7 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.67e-05/0.3484, allocations: 72 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.3485, allocations: 83.98 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.484e-05/0.3486, allocations: 127.6 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.3488, allocations: 298.5 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.3494, allocations: 0.794 MB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3494, allocations: 0 / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3494, allocations: 0 / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3495, allocations: 0 / 1.095 GB, free: 10.4 MB / 0.8575 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.001005/0.3505, allocations: 0.8168 MB / 1.096 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/0.3505, allocations: 8.031 kB / 1.096 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.258e-05/0.3506, allocations: 60.28 kB / 1.096 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.351, allocations: 355.6 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.351, allocations: 45.69 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.325e-05/0.3511, allocations: 56.38 kB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007961/0.3519, allocations: 0.5031 MB / 1.097 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3519, allocations: 192 / 1.097 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.352, allocations: 27.94 kB / 1.097 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.352, allocations: 20 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006334/0.3526, allocations: 360.6 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.3545, allocations: 1.441 MB / 1.098 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.355, allocations: 281.4 kB / 1.099 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.3555, allocations: 195.9 kB / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.3555, allocations: 4 kB / 1.099 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000375/0.3559, allocations: 194.9 kB / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.422e-06/0.3559, allocations: 4 kB / 1.099 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0007728/0.3567, allocations: 391.1 kB / 1.099 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.3567, allocations: 85.05 kB / 1.099 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.3572, allocations: 413.6 kB / 1.1 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.3573, allocations: 29.7 kB / 1.1 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.3575, allocations: 271.9 kB / 1.1 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.411e-05/0.3576, allocations: 118.3 kB / 1.1 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.3578, allocations: 86.11 kB / 1.1 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.358, allocations: 346.8 kB / 1.101 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.3583, allocations: 132.8 kB / 1.101 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.3586, allocations: 211 kB / 1.101 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.3592, allocations: 336 kB / 1.101 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3592, allocations: 0 / 1.101 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008564/0.3601, allocations: 476 kB / 1.102 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/0.3601, allocations: 45.62 kB / 1.102 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3602, allocations: 0 / 1.102 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.3602, allocations: 8.188 kB / 1.102 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.3605, allocations: 75.91 kB / 1.102 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.3605, allocations: 15.86 kB / 1.102 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.3608, allocations: 75.34 kB / 1.102 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.3609, allocations: 19.98 kB / 1.102 GB, free: 2.648 MB / 0.8575 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.0001841/0.3611, allocations: 169.8 kB / 1.102 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.3611, allocations: 43.53 kB / 1.102 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005939/0.3617, allocations: 327 kB / 1.103 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3617, allocations: 4 kB / 1.103 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3618, allocations: 3.938 kB / 1.103 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.3618, allocations: 3.984 kB / 1.103 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.3629, allocations: 0.9709 MB / 1.103 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.3629, allocations: 4 kB / 1.103 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.3631, allocations: 55.91 kB / 1.104 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.3631, allocations: 4.188 kB / 1.104 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.3631, allocations: 12 kB / 1.104 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3632, allocations: 4 kB / 1.104 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.3632, allocations: 7.938 kB / 1.104 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005865/0.3638, allocations: 0.5123 MB / 1.104 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/0.3639, allocations: 128.5 kB / 1.104 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.3639, allocations: 8 kB / 1.104 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.3641, allocations: 15.98 kB / 1.104 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.3642, allocations: 27.91 kB / 1.104 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3642, allocations: 15.94 kB / 1.104 GB, free: 212 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002901/0.3645, allocations: 295.1 kB / 1.105 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3645, allocations: 0 / 1.105 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004299/0.365, allocations: 107.7 kB / 1.105 GB, free: 15.82 MB / 0.8731 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.0001725/0.3651, allocations: 119.2 kB / 1.105 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006725/0.3658, allocations: 385.4 kB / 1.105 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3658, allocations: 0 / 1.105 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.3661, allocations: 139.7 kB / 1.105 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.3666, allocations: 62.28 kB / 1.105 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3678, allocations: 0.7258 MB / 1.106 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.3682, allocations: 0.8237 MB / 1.107 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.3683, allocations: 43.27 kB / 1.107 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.3684, allocations: 35.42 kB / 1.107 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.3684, allocations: 4 kB / 1.107 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of Templates: time 0.008361/0.3768, allocations: 4.11 MB / 1.111 GB, free: 9.332 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches