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.007412/0.007412, allocations: 105.9 kB / 15.73 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.001303/0.001303, allocations: 189 kB / 16.67 MB, free: 5.926 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.427/2.427, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.14 kB / 0.9508 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003735/1.055, allocations: 2.225 MB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002894/1.058, allocations: 1.513 MB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/1.059, allocations: 8.531 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001596/1.059, allocations: 60.19 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003002/1.059, allocations: 96.22 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008276/1.06, allocations: 299 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007841/1.061, allocations: 0.6533 MB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006076/1.061, allocations: 357.4 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/1.062, allocations: 234.2 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/1.062, allocations: 251.4 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/1.062, allocations: 70.09 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/1.062, allocations: 89.03 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/1.062, allocations: 134.1 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003161/1.063, allocations: 283.2 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/1.064, allocations: 0.8013 MB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.064, allocations: 1.141 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.904e-06/1.064, allocations: 4 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.415e-05/1.064, allocations: 0 / 1.095 GB, free: 1.109 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.001363/1.065, allocations: 0.8078 MB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/1.065, allocations: 9.219 kB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/1.065, allocations: 64.31 kB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/1.066, allocations: 357 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/1.066, allocations: 50.16 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/1.066, allocations: 56.17 kB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/1.067, allocations: 0.5046 MB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/1.067, allocations: 192 / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/1.067, allocations: 29.47 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/1.067, allocations: 13.41 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009674/1.068, allocations: 356.8 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002831/1.071, allocations: 1.445 MB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/1.072, allocations: 286.7 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004761/1.072, allocations: 187 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.846e-05/1.072, allocations: 5.906 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005418/1.073, allocations: 191.4 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 3.687e-06/1.073, allocations: 0 / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.000985/1.074, allocations: 397.2 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/1.074, allocations: 81.92 kB / 1.099 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/1.075, allocations: 416 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/1.075, allocations: 33.59 kB / 1.1 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/1.075, allocations: 265.9 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/1.075, allocations: 114.8 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/1.075, allocations: 81.36 kB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.075, allocations: 351.8 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/1.076, allocations: 134.6 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/1.076, allocations: 201.7 kB / 1.101 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007274/1.077, allocations: 341.7 kB / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.077, allocations: 5.031 kB / 1.101 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001192/1.078, allocations: 470.3 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/1.078, allocations: 39.03 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.078, allocations: 2.062 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/1.078, allocations: 3.531 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/1.079, allocations: 88.31 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/1.079, allocations: 11.86 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/1.079, allocations: 75.75 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/1.079, allocations: 19.16 kB / 1.102 GB, free: 12.64 MB / 0.8731 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.0002368/1.079, allocations: 166.9 kB / 1.102 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/1.079, allocations: 38.09 kB / 1.102 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008846/1.08, allocations: 335.8 kB / 1.103 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.08, allocations: 3.625 kB / 1.103 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.08, allocations: 4.969 kB / 1.103 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/1.08, allocations: 2.359 kB / 1.103 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/1.082, allocations: 0.9709 MB / 1.103 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.082, allocations: 2.094 kB / 1.103 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/1.082, allocations: 65.75 kB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/1.082, allocations: 3.344 kB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/1.082, allocations: 12.53 kB / 1.104 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/1.082, allocations: 8.984 kB / 1.104 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.082, allocations: 5.438 kB / 1.104 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00073/1.083, allocations: 0.5225 MB / 1.104 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/1.083, allocations: 128.4 kB / 1.104 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/1.083, allocations: 12.62 kB / 1.104 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/1.083, allocations: 17.7 kB / 1.104 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/1.084, allocations: 23.69 kB / 1.104 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/1.084, allocations: 17.02 kB / 1.104 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004036/1.084, allocations: 287.6 kB / 1.105 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.084, allocations: 0 / 1.105 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000521/1.085, allocations: 109 kB / 1.105 GB, free: 10.91 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.0002208/1.085, allocations: 115.9 kB / 1.105 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008238/1.086, allocations: 381.5 kB / 1.105 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.086, allocations: 1.062 kB / 1.105 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003191/1.086, allocations: 139.9 kB / 1.105 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/1.087, allocations: 65.38 kB / 1.105 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/1.088, allocations: 0.7346 MB / 1.106 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/1.089, allocations: 0.821 MB / 1.107 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001668/1.089, allocations: 43.45 kB / 1.107 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/1.089, allocations: 32.11 kB / 1.107 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/1.089, allocations: 0 / 1.107 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of Templates: time 0.01193/1.101, allocations: 4.044 MB / 1.111 GB, free: 9.047 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