Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCon_in.y|TEva_in.y|TSen1.T|TSen2.T|TSet.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCon_in.y|TEva_in.y|TSen1.T|TSen2.T|TSet.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.503/2.503, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.002548/0.002549, allocations: 193.8 kB / 0.4902 GB, free: 2.227 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.573/1.573, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009886/0.0009883, allocations: 94.34 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004187, allocations: 7.594 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3626, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.36/1.722, allocations: 449 MB / 1.668 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/1.723, allocations: 106.9 kB / 1.668 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.144/7.866, allocations: 1.518 GB / 3.186 GB, free: 13.27 MB / 1.182 GB Notification: Performance of FrontEnd: time 3.366e-06/7.866, allocations: 0 / 3.186 GB, free: 13.27 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0008472/7.867, allocations: 91.84 kB / 3.186 GB, free: 13.18 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.01612/7.883, allocations: 3.851 MB / 3.19 GB, free: 9.254 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.709e-05/7.883, allocations: 11.98 kB / 3.19 GB, free: 9.242 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/7.889, allocations: 0.7919 MB / 3.19 GB, free: 8.445 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/7.9, allocations: 3.376 MB / 3.194 GB, free: 5.004 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001301/7.901, allocations: 433.2 kB / 3.194 GB, free: 4.582 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009743/7.902, allocations: 211.8 kB / 3.194 GB, free: 4.375 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00696/7.909, allocations: 2.54 MB / 3.197 GB, free: 1.754 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.043e-05/7.909, allocations: 0 / 3.197 GB, free: 1.754 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/7.909, allocations: 80 kB / 3.197 GB, free: 1.676 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-05/7.909, allocations: 75.66 kB / 3.197 GB, free: 1.602 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00551/7.915, allocations: 2.384 MB / 3.199 GB, free: 15.21 MB / 1.198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02312/7.938, allocations: 12.71 MB / 3.212 GB, free: 1.594 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/7.942, allocations: 1.724 MB / 3.213 GB, free: 15.82 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/7.944, allocations: 1.642 MB / 3.215 GB, free: 13.83 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002387/7.946, allocations: 1.083 MB / 3.216 GB, free: 12.72 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002181/7.948, allocations: 206.9 kB / 3.216 GB, free: 12.52 MB / 1.214 GB Notification: Performance of pre-optimization done (n=131): time 6.483e-06/7.948, allocations: 0 / 3.216 GB, free: 12.52 MB / 1.214 GB Notification: Performance of matching and sorting (n=131): time 0.008238/7.957, allocations: 3.134 MB / 3.219 GB, free: 9.305 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/7.957, allocations: 218.6 kB / 3.22 GB, free: 9.043 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005373/7.962, allocations: 2.376 MB / 3.222 GB, free: 6.668 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0005814/7.963, allocations: 57.7 kB / 3.222 GB, free: 6.605 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.001469/7.964, allocations: 1.317 MB / 3.223 GB, free: 5.273 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006508/7.965, allocations: 457.5 kB / 3.224 GB, free: 4.82 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/7.965, allocations: 32 kB / 3.224 GB, free: 4.789 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.000154/7.965, allocations: 365.8 kB / 3.224 GB, free: 4.426 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/7.967, allocations: 0.8354 MB / 3.225 GB, free: 3.59 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/7.97, allocations: 1.25 MB / 3.226 GB, free: 2.18 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/7.972, allocations: 0.967 MB / 3.227 GB, free: 1.207 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/7.972, allocations: 0 / 3.227 GB, free: 1.207 MB / 1.214 GB Notification: Performance of matching and sorting (n=192) (initialization): time 1.045/9.017, allocations: 2.521 MB / 3.229 GB, free: 140 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001003/9.018, allocations: 3.134 MB / 3.233 GB, free: 136.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/9.018, allocations: 7.156 kB / 3.233 GB, free: 136.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004068/9.019, allocations: 108.6 kB / 3.233 GB, free: 136.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/9.021, allocations: 444.1 kB / 3.233 GB, free: 136.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007932/9.022, allocations: 1.202 MB / 3.234 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003809/9.026, allocations: 328 kB / 3.235 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/9.026, allocations: 84.06 kB / 3.235 GB, free: 135.6 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/9.026, allocations: 10.62 kB / 3.235 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005945/9.032, allocations: 2.248 MB / 3.237 GB, free: 135.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/9.032, allocations: 7.062 kB / 3.237 GB, free: 135.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004497/9.032, allocations: 113.7 kB / 3.237 GB, free: 135.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/9.034, allocations: 440.5 kB / 3.237 GB, free: 135.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/9.038, allocations: 3.316 MB / 3.241 GB, free: 132.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004617/9.043, allocations: 303.3 kB / 3.241 GB, free: 132.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004112/9.043, allocations: 84.92 kB / 3.241 GB, free: 132.7 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002881/9.046, allocations: 0.7038 MB / 3.242 GB, free: 132.5 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/9.048, allocations: 305 kB / 3.242 GB, free: 132.5 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007466/9.055, allocations: 2.625 MB / 3.245 GB, free: 132.3 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.922e-05/9.055, allocations: 18.38 kB / 3.245 GB, free: 132.3 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/9.055, allocations: 6.688 kB / 3.245 GB, free: 132.3 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004872/9.06, allocations: 2.176 MB / 3.247 GB, free: 132 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/9.074, allocations: 5.65 MB / 3.252 GB, free: 131.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/9.074, allocations: 2.188 kB / 3.252 GB, free: 131.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/9.075, allocations: 340.6 kB / 3.253 GB, free: 131.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002864/9.076, allocations: 103.8 kB / 3.253 GB, free: 131.1 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/9.076, allocations: 47.03 kB / 3.253 GB, free: 131.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006883/9.077, allocations: 1.182 MB / 3.254 GB, free: 130.1 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/9.077, allocations: 6.344 kB / 3.254 GB, free: 130.1 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008691/9.085, allocations: 3.93 MB / 3.258 GB, free: 129.3 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002462/9.088, allocations: 0.6858 MB / 3.258 GB, free: 129 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004583/9.088, allocations: 34.09 kB / 3.258 GB, free: 129 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002425/9.091, allocations: 270.2 kB / 3.259 GB, free: 129 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/9.091, allocations: 109.2 kB / 3.259 GB, free: 129 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001945/9.091, allocations: 70.52 kB / 3.259 GB, free: 129 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.003764/9.095, allocations: 1.844 MB / 3.261 GB, free: 128.9 MB / 1.214 GB Notification: Performance of sort global known variables: time 2e-07/9.095, allocations: 0 / 3.261 GB, free: 128.9 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.007378/9.102, allocations: 1.554 MB / 3.262 GB, free: 128.8 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.s[1],hex1.thrWayVal.filter.s[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003731/9.106, allocations: 1.537 MB / 3.264 GB, free: 128.5 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.007753/9.114, allocations: 3.596 MB / 3.267 GB, free: 128.1 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/9.114, allocations: 0 / 3.267 GB, free: 128.1 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/9.116, allocations: 1.136 MB / 3.268 GB, free: 128 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00745/9.124, allocations: 1.402 MB / 3.27 GB, free: 128 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/9.136, allocations: 6.416 MB / 3.276 GB, free: 125.3 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/9.137, allocations: 1.854 MB / 3.278 GB, free: 124.6 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.003893/9.141, allocations: 0.6772 MB / 3.278 GB, free: 124.6 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006349/9.142, allocations: 237.6 kB / 3.279 GB, free: 124.6 MB / 1.214 GB Notification: Performance of SimCode: time 1.884e-06/9.142, allocations: 0 / 3.279 GB, free: 124.6 MB / 1.214 GB Notification: Performance of Templates: time 0.1121/9.254, allocations: 63.66 MB / 3.341 GB, free: 121.6 MB / 1.214 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches