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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001204/0.001203, allocations: 100 kB / 15.05 MB, free: 1.105 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.001298/0.001299, allocations: 177.3 kB / 15.94 MB, free: 228 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.502/1.502, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.567/2.567, allocations: 390.2 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004213, allocations: 11.98 kB / 0.8145 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8692/0.8697, allocations: 142.3 MB / 0.9535 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002119/0.8718, allocations: 1.705 MB / 0.9552 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.8746, allocations: 1.47 MB / 0.9566 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.8749, allocations: 8.562 kB / 0.9566 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.511e-05/0.875, allocations: 35.58 kB / 0.9567 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.8754, allocations: 85.28 kB / 0.9567 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.8761, allocations: 223 kB / 0.957 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.8766, allocations: 367.6 kB / 0.9573 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005076/0.8772, allocations: 261.5 kB / 0.9576 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.8774, allocations: 141.9 kB / 0.9577 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.8777, allocations: 165 kB / 0.9578 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.859e-05/0.8778, allocations: 16.69 kB / 0.9579 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.8779, allocations: 29.17 kB / 0.9579 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.378e-05/0.8779, allocations: 67 kB / 0.958 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.8781, allocations: 108.9 kB / 0.9581 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005045/0.8786, allocations: 0.5864 MB / 0.9586 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.8786, allocations: 0 / 0.9586 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8786, allocations: 0 / 0.9586 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.8786, allocations: 0 / 0.9586 GB, free: 4.16 MB / 0.7169 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.001091/0.8797, allocations: 0.7217 MB / 0.9593 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.8798, allocations: 9.625 kB / 0.9593 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.8799, allocations: 69.39 kB / 0.9594 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.8803, allocations: 350.7 kB / 0.9597 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.169e-05/0.8804, allocations: 44.69 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.729e-05/0.8805, allocations: 55.88 kB / 0.9598 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008888/0.8814, allocations: 0.5012 MB / 0.9603 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.8814, allocations: 0 / 0.9603 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.8815, allocations: 24.56 kB / 0.9604 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.8815, allocations: 13.91 kB / 0.9604 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/0.8822, allocations: 374.2 kB / 0.9607 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.8842, allocations: 1.462 MB / 0.9622 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.8848, allocations: 292 kB / 0.9624 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-05/0.8849, allocations: 3.562 kB / 0.9624 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004185/0.8853, allocations: 205 kB / 0.9626 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.8853, allocations: 0 / 0.9626 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.000841/0.8862, allocations: 403.5 kB / 0.963 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.8862, allocations: 81.36 kB / 0.9631 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004159/0.8866, allocations: 412.9 kB / 0.9635 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.8867, allocations: 32.98 kB / 0.9635 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.8869, allocations: 264.9 kB / 0.9638 GB, free: 332 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.8869, allocations: 111.8 kB / 0.9639 GB, free: 232 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.887, allocations: 7.812 kB / 0.9639 GB, free: 228 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8871, allocations: 359.5 kB / 0.9642 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.8874, allocations: 135.6 kB / 0.9644 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.8878, allocations: 209.1 kB / 0.9646 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.8881, allocations: 185.9 kB / 0.9647 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8881, allocations: 0 / 0.9647 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008971/0.889, allocations: 488.8 kB / 0.9652 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.8891, allocations: 39.05 kB / 0.9652 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.8891, allocations: 1.25 kB / 0.9652 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.8892, allocations: 3.938 kB / 0.9652 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.8895, allocations: 87.23 kB / 0.9653 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.8895, allocations: 3.375 kB / 0.9653 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.8899, allocations: 85.23 kB / 0.9654 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.89, allocations: 25.06 kB / 0.9654 GB, free: 15.17 MB / 0.7325 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.0002213/0.8902, allocations: 177.9 kB / 0.9656 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.8903, allocations: 37.47 kB / 0.9656 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000672/0.8909, allocations: 337.8 kB / 0.966 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.891, allocations: 8.172 kB / 0.966 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.891, allocations: 1.062 kB / 0.966 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.891, allocations: 0.9375 kB / 0.966 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.8923, allocations: 0.9858 MB / 0.9669 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.8924, allocations: 2.062 kB / 0.9669 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.8926, allocations: 62.59 kB / 0.967 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.8926, allocations: 7 kB / 0.967 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.8927, allocations: 11.91 kB / 0.967 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.8927, allocations: 11.94 kB / 0.967 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.8927, allocations: 2 kB / 0.967 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.8934, allocations: 0.5975 MB / 0.9676 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.8936, allocations: 125.3 kB / 0.9677 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.8936, allocations: 15.53 kB / 0.9677 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.8939, allocations: 12.59 kB / 0.9678 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.894, allocations: 35.28 kB / 0.9678 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.894, allocations: 13.23 kB / 0.9678 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003725/0.8944, allocations: 284.6 kB / 0.9681 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8944, allocations: 0 / 0.9681 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005822/0.895, allocations: 103.5 kB / 0.9682 GB, free: 13.07 MB / 0.7325 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.0002134/0.8952, allocations: 113.5 kB / 0.9683 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008308/0.896, allocations: 390 kB / 0.9687 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.896, allocations: 0 / 0.9687 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.8963, allocations: 146.5 kB / 0.9688 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.8969, allocations: 58.86 kB / 0.9688 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.8985, allocations: 0.8871 MB / 0.9697 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.899, allocations: 0.839 MB / 0.9705 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001674/0.8992, allocations: 42.27 kB / 0.9706 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.8993, allocations: 34.42 kB / 0.9706 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.8993, allocations: 0 / 0.9706 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.009015/0.9083, allocations: 3.56 MB / 0.9741 GB, free: 9.465 MB / 0.7325 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","../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches