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.001129/0.001129, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001302/0.001301, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.104/3.104, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 10.34 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3764, allocations: 159.6 MB / 1.058 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002499/0.3789, allocations: 1.716 MB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.3812, allocations: 1.47 MB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.3815, allocations: 8 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.263e-05/0.3815, allocations: 35.58 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.3818, allocations: 67.45 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006003/0.3824, allocations: 218.3 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.3829, allocations: 0.5668 MB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.3833, allocations: 261 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.3835, allocations: 143.3 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.3837, allocations: 163 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.3838, allocations: 16 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-05/0.3839, allocations: 23.98 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.3839, allocations: 71.62 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.384, allocations: 113.4 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00049/0.3845, allocations: 0.5846 MB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3845, allocations: 0 / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3846, allocations: 0 / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3846, allocations: 4 kB / 1.063 GB, free: 15.9 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.001017/0.3856, allocations: 0.7191 MB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3856, allocations: 12.03 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.3858, allocations: 59.34 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.3862, allocations: 346.6 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/0.3863, allocations: 45.31 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.641e-05/0.3864, allocations: 59.95 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008326/0.3872, allocations: 0.5064 MB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3872, allocations: 4 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.3873, allocations: 20 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.3873, allocations: 12 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.388, allocations: 364.7 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.39, allocations: 1.465 MB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.3906, allocations: 293.3 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.391, allocations: 185.6 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.3911, allocations: 7.984 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004562/0.3915, allocations: 202.9 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/0.3915, allocations: 3.938 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0008759/0.3924, allocations: 409.6 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.3925, allocations: 85.05 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.393, allocations: 413.5 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.393, allocations: 33.7 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.3933, allocations: 259.9 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.11e-05/0.3934, allocations: 118.3 kB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.3934, allocations: 8 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3936, allocations: 346.8 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.3939, allocations: 148.8 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.3943, allocations: 207.4 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.3946, allocations: 181.1 kB / 1.07 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3946, allocations: 3.938 kB / 1.07 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008808/0.3955, allocations: 482.6 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.166e-05/0.3956, allocations: 45.64 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3956, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.3956, allocations: 4.188 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.3959, allocations: 83.84 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.396, allocations: 7.984 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.3963, allocations: 95.34 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.3964, allocations: 23.98 kB / 1.07 GB, free: 8.426 MB / 0.8262 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,$PRE.TRoo1.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.3966, allocations: 165.8 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.3967, allocations: 39.44 kB / 1.071 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006761/0.3974, allocations: 341.1 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3974, allocations: 4 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3974, allocations: 0 / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3974, allocations: 15.91 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.3985, allocations: 0.9824 MB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3986, allocations: 0 / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.3988, allocations: 64.09 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.3988, allocations: 4 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.3988, allocations: 8 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.3988, allocations: 7.938 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3988, allocations: 0 / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.3994, allocations: 0.5184 MB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-05/0.3996, allocations: 132.5 kB / 1.073 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.3996, allocations: 8 kB / 1.073 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.3998, allocations: 15.98 kB / 1.073 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.3999, allocations: 23.97 kB / 1.073 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.3999, allocations: 8 kB / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002824/0.4002, allocations: 291.2 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.623e-06/0.4002, allocations: 4 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004391/0.4006, allocations: 111.6 kB / 1.073 GB, free: 5.562 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001597/0.4008, allocations: 114.1 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007/0.4015, allocations: 400.7 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4015, allocations: 0 / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.4018, allocations: 143.8 kB / 1.074 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.4024, allocations: 66.22 kB / 1.074 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.4036, allocations: 0.8766 MB / 1.075 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.4041, allocations: 0.8275 MB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.4042, allocations: 43.27 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.4043, allocations: 31.44 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.4043, allocations: 4 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.00755/0.4119, allocations: 3.578 MB / 1.079 GB, free: 15.47 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