Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.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.SupplyReturnTemperatureResetExponent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCurM.TSup|heaCurM.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCurM.TSup|heaCurM.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001961/0.001961, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.28 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.383, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent): time 0.003673/0.3868, allocations: 2.073 MB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.3884, allocations: 1.139 MB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.3886, allocations: 8 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.3888, allocations: 35.58 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.389, allocations: 55.55 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.3894, allocations: 143.9 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.3899, allocations: 488.6 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006497/0.3905, allocations: 341.8 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.3908, allocations: 151.3 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.3911, allocations: 202.9 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.55e-05/0.3911, allocations: 31.94 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.3912, allocations: 32 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3913, allocations: 83.62 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.3916, allocations: 218.8 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007139/0.3923, allocations: 0.6075 MB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.3923, allocations: 4 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3924, allocations: 4 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.3924, allocations: 0 / 1.073 GB, free: 5.32 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001513/0.3939, allocations: 0.7217 MB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/0.394, allocations: 8.031 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.3941, allocations: 56.28 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.3947, allocations: 324.8 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.3947, allocations: 41.69 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.629e-05/0.3948, allocations: 52.38 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/0.3958, allocations: 431.1 kB / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.3958, allocations: 192 / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.527e-05/0.3959, allocations: 27.94 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.3959, allocations: 12 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007587/0.3966, allocations: 341.1 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.399, allocations: 1.278 MB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.3995, allocations: 261.3 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.3999, allocations: 168.8 kB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.4, allocations: 7.984 kB / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.4, allocations: 38.97 kB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/0.4, allocations: 0 / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31): time 0.0008995/0.4009, allocations: 354.3 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.401, allocations: 63.33 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.4014, allocations: 373.6 kB / 1.077 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.4014, allocations: 29.7 kB / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.4016, allocations: 243.7 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.4017, allocations: 110.4 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.4018, allocations: 61.7 kB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4019, allocations: 342.8 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.4021, allocations: 103.9 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.4024, allocations: 148.5 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.4029, allocations: 266 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4029, allocations: 0 / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000587/0.4035, allocations: 346.2 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.4035, allocations: 8 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.4035, allocations: 0 / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.4036, allocations: 4 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.4039, allocations: 71.91 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.4039, allocations: 3.938 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.4041, allocations: 55.42 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.4042, allocations: 12.12 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0002041/0.4044, allocations: 162.1 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.4044, allocations: 35.56 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006686/0.4051, allocations: 289.5 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.4051, allocations: 4 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4051, allocations: 4 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.4052, allocations: 3.984 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.4064, allocations: 0.8394 MB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4064, allocations: 4.031 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.4066, allocations: 63.91 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4066, allocations: 0 / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.4067, allocations: 8 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.4067, allocations: 4 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4067, allocations: 0 / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.4073, allocations: 410.5 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.4074, allocations: 124.6 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.4074, allocations: 8 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.4076, allocations: 15.98 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.4077, allocations: 31.84 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.4077, allocations: 4 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002669/0.408, allocations: 267.2 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.408, allocations: 0 / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003778/0.4084, allocations: 87.69 kB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001616/0.4085, allocations: 115.1 kB / 1.082 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005969/0.4091, allocations: 252.4 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4092, allocations: 0 / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.4094, allocations: 123.8 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.41, allocations: 49.98 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.4114, allocations: 0.8293 MB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.4119, allocations: 0.8109 MB / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000148/0.4121, allocations: 43.27 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.877e-05/0.4122, allocations: 27.44 kB / 1.084 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4122, allocations: 0 / 1.084 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of Templates: time 0.007694/0.4199, allocations: 2.545 MB / 1.086 GB, free: 7.496 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureResetExponent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches