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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.504/2.504, allocations: 393.5 MB / 408.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 187.9 kB / 0.4902 GB, free: 2.219 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.718/1.718, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000906/0.000906, allocations: 100.3 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 7.594 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.355, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2067/0.5618, allocations: 151.5 MB / 1.377 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.5621, allocations: 71.94 kB / 1.377 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02071/0.5828, allocations: 7.975 MB / 1.385 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5829, allocations: 0 / 1.385 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.168e-05/0.5829, allocations: 16 kB / 1.385 GB, free: 9.898 MB / 0.8855 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.001617/0.5846, allocations: 0.7326 MB / 1.386 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.5846, allocations: 8.562 kB / 1.386 GB, free: 9.102 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.5849, allocations: 63.34 kB / 1.386 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.5852, allocations: 253.3 kB / 1.386 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.035e-05/0.5853, allocations: 45.31 kB / 1.386 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.5855, allocations: 52 kB / 1.386 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.5865, allocations: 0.5064 MB / 1.387 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.5865, allocations: 4 kB / 1.387 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.5866, allocations: 27.97 kB / 1.387 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.5866, allocations: 12 kB / 1.387 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000749/0.5873, allocations: 368.7 kB / 1.387 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.59, allocations: 1.516 MB / 1.389 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.5906, allocations: 292.3 kB / 1.389 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.5907, allocations: 7.984 kB / 1.389 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004368/0.5911, allocations: 202.9 kB / 1.389 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=34): time 3.677e-06/0.5911, allocations: 0 / 1.389 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.0009033/0.592, allocations: 410.6 kB / 1.389 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.5921, allocations: 81.11 kB / 1.389 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.5926, allocations: 392.7 kB / 1.39 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.5926, allocations: 29.7 kB / 1.39 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.5929, allocations: 256.2 kB / 1.39 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.593, allocations: 110.5 kB / 1.39 GB, free: 4.332 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.593, allocations: 7.938 kB / 1.39 GB, free: 4.324 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5932, allocations: 354.8 kB / 1.391 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.5935, allocations: 132.3 kB / 1.391 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.5938, allocations: 188 kB / 1.391 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.5942, allocations: 179.4 kB / 1.391 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5942, allocations: 0 / 1.391 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008659/0.5951, allocations: 459 kB / 1.392 GB, free: 3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.763e-05/0.5952, allocations: 41.69 kB / 1.392 GB, free: 2.953 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5952, allocations: 0 / 1.392 GB, free: 2.953 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.5952, allocations: 8.062 kB / 1.392 GB, free: 2.945 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.5955, allocations: 75.84 kB / 1.392 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.5955, allocations: 0 / 1.392 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.5959, allocations: 95.33 kB / 1.392 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.596, allocations: 12 kB / 1.392 GB, free: 2.766 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (44): * Single equations (assignments): 43 * 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.0002274/0.5962, allocations: 173.7 kB / 1.392 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.5963, allocations: 43.48 kB / 1.392 GB, free: 2.543 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006589/0.5969, allocations: 340.5 kB / 1.392 GB, free: 2.203 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.5969, allocations: 4 kB / 1.392 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.597, allocations: 0 / 1.392 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.597, allocations: 4 kB / 1.392 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.5983, allocations: 0.9902 MB / 1.393 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.5983, allocations: 3.984 kB / 1.393 GB, free: 1.125 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.5985, allocations: 60.09 kB / 1.393 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.5986, allocations: 8 kB / 1.393 GB, free: 1.059 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.5986, allocations: 8 kB / 1.393 GB, free: 1.051 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.5986, allocations: 4 kB / 1.393 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5986, allocations: 0 / 1.393 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.5993, allocations: 0.6106 MB / 1.394 GB, free: 364 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.5994, allocations: 132.5 kB / 1.394 GB, free: 212 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.5995, allocations: 8 kB / 1.394 GB, free: 204 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.5997, allocations: 19.92 kB / 1.394 GB, free: 184 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.5998, allocations: 35.86 kB / 1.394 GB, free: 148 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.5998, allocations: 12 kB / 1.394 GB, free: 136 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003311/0.6002, allocations: 299.1 kB / 1.394 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6002, allocations: 0 / 1.394 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004515/0.6006, allocations: 111.7 kB / 1.395 GB, free: 15.73 MB / 0.9011 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.0001755/0.6008, allocations: 119.9 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006735/0.6015, allocations: 386.3 kB / 1.395 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6015, allocations: 0 / 1.395 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.6018, allocations: 148.3 kB / 1.395 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.6022, allocations: 57.41 kB / 1.395 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.6035, allocations: 0.8903 MB / 1.396 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.6039, allocations: 0.8403 MB / 1.397 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001396/0.604, allocations: 39.27 kB / 1.397 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.6041, allocations: 31.42 kB / 1.397 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of SimCode: time 8.61e-07/0.6041, allocations: 4 kB / 1.397 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of Templates: time 0.007802/0.6119, allocations: 3.617 MB / 1.4 GB, free: 9.594 MB / 0.9011 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","../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches