Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001559/0.001559, 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.001888/0.001889, allocations: 196.7 kB / 16.14 MB, free: 6.629 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.589/1.589, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.911/2.911, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 59.91 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7709/0.7729, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003984/0.7769, allocations: 2.248 MB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002848/0.7798, allocations: 1.506 MB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.7802, allocations: 8 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.7803, allocations: 39.58 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.7807, allocations: 63.47 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007589/0.7814, allocations: 271.3 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006248/0.7821, allocations: 0.5823 MB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005615/0.7826, allocations: 357.7 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.7829, allocations: 187.2 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.7832, allocations: 242.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.33e-05/0.7833, allocations: 36 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.7834, allocations: 43.98 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.89e-05/0.7835, allocations: 91.62 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.7838, allocations: 258.5 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007683/0.7846, allocations: 0.7377 MB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7846, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7846, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.7847, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 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.00149/0.7862, allocations: 0.8207 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.7862, allocations: 12.03 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.7863, allocations: 56.28 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.7869, allocations: 363.6 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.7869, allocations: 41.69 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.31e-05/0.787, allocations: 56.38 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009569/0.788, allocations: 0.5109 MB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.788, allocations: 192 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.7881, allocations: 27.88 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.7881, allocations: 12 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007538/0.7889, allocations: 360.6 kB / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.7912, allocations: 1.457 MB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.7919, allocations: 285.3 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/0.7923, allocations: 177.6 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.7924, allocations: 4 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005256/0.7929, allocations: 206.8 kB / 1.027 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.7929, allocations: 0 / 1.027 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0009897/0.7939, allocations: 393.2 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.058e-05/0.794, allocations: 93.05 kB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.7946, allocations: 409.6 kB / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.7946, allocations: 33.7 kB / 1.028 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.7949, allocations: 271.8 kB / 1.029 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/0.795, allocations: 102.5 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.7952, allocations: 86.03 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.7954, allocations: 350.8 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.7957, allocations: 136.8 kB / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.7961, allocations: 207.1 kB / 1.029 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/0.7967, allocations: 343.8 kB / 1.03 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7967, allocations: 0 / 1.03 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009708/0.7977, allocations: 476.4 kB / 1.03 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.782e-05/0.7978, allocations: 41.69 kB / 1.03 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.7978, allocations: 4 kB / 1.03 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.7978, allocations: 4 kB / 1.03 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.7981, allocations: 75.91 kB / 1.03 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.7982, allocations: 7.938 kB / 1.03 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.7986, allocations: 83.52 kB / 1.03 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.7986, allocations: 19.98 kB / 1.03 GB, free: 4.316 MB / 0.7794 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.0002247/0.7988, allocations: 173.7 kB / 1.031 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.7989, allocations: 43.44 kB / 1.031 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007147/0.7996, allocations: 331.3 kB / 1.031 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.7997, allocations: 4 kB / 1.031 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.7997, allocations: 7.922 kB / 1.031 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.7997, allocations: 3.984 kB / 1.031 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.8011, allocations: 0.9707 MB / 1.032 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8011, allocations: 4 kB / 1.032 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.8014, allocations: 55.91 kB / 1.032 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.8014, allocations: 4 kB / 1.032 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.8015, allocations: 8 kB / 1.032 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.8015, allocations: 4 kB / 1.032 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.8015, allocations: 4 kB / 1.032 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007861/0.8023, allocations: 0.5124 MB / 1.032 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.8024, allocations: 128.5 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.8025, allocations: 8 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.8027, allocations: 15.98 kB / 1.033 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.8028, allocations: 31.84 kB / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.8028, allocations: 11.94 kB / 1.033 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003617/0.8032, allocations: 287.2 kB / 1.033 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8032, allocations: 4 kB / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004918/0.8037, allocations: 107.7 kB / 1.033 GB, free: 1.48 MB / 0.7794 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.0002056/0.8039, allocations: 119.2 kB / 1.033 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008067/0.8047, allocations: 375.8 kB / 1.033 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.8047, allocations: 384 / 1.033 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.805, allocations: 145 kB / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.8057, allocations: 58.8 kB / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.8072, allocations: 0.9233 MB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.8078, allocations: 0.8237 MB / 1.035 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001753/0.808, allocations: 47.2 kB / 1.035 GB, free: 14.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.8081, allocations: 35.42 kB / 1.035 GB, free: 14.88 MB / 0.795 GB Notification: Performance of SimCode: time 5.51e-07/0.8081, allocations: 0 / 1.035 GB, free: 14.88 MB / 0.795 GB Notification: Performance of Templates: time 0.01108/0.8192, allocations: 3.727 MB / 1.039 GB, free: 11.2 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches