Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.00138/0.001379, allocations: 192.3 kB / 498.1 MB, free: 5.727 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.512/1.512, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.000953/0.000953, allocations: 104.3 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.000381, allocations: 7.438 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3384, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.301/1.639, allocations: 448.3 MB / 1.661 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004145/1.64, allocations: 106 kB / 1.661 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.106/7.746, allocations: 1.518 GB / 3.179 GB, free: 3.254 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.334e-06/7.746, allocations: 0 / 3.179 GB, free: 3.254 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0009464/7.747, allocations: 91.84 kB / 3.179 GB, free: 3.164 MB / 1.167 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.01901/7.766, allocations: 3.847 MB / 3.183 GB, free: 15.25 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/7.766, allocations: 8.031 kB / 3.183 GB, free: 15.24 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005719/7.771, allocations: 0.7918 MB / 3.183 GB, free: 14.44 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/7.785, allocations: 3.376 MB / 3.187 GB, free: 11 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001513/7.786, allocations: 425.2 kB / 3.187 GB, free: 10.59 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/7.788, allocations: 204 kB / 3.187 GB, free: 10.39 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009677/7.797, allocations: 2.548 MB / 3.19 GB, free: 7.758 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/7.798, allocations: 3.984 kB / 3.19 GB, free: 7.754 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007429/7.798, allocations: 80 kB / 3.19 GB, free: 7.676 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.589e-05/7.798, allocations: 75.59 kB / 3.19 GB, free: 7.602 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007644/7.806, allocations: 2.388 MB / 3.192 GB, free: 5.211 MB / 1.182 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.02876/7.835, allocations: 12.71 MB / 3.205 GB, free: 7.582 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/7.839, allocations: 1.726 MB / 3.206 GB, free: 5.812 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001881/7.841, allocations: 1.642 MB / 3.208 GB, free: 3.82 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002866/7.844, allocations: 1.083 MB / 3.209 GB, free: 2.707 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00271/7.847, allocations: 212.2 kB / 3.209 GB, free: 2.5 MB / 1.198 GB Notification: Performance of pre-optimization done (n=131): time 1.104e-05/7.847, allocations: 0 / 3.209 GB, free: 2.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=131): time 1.099/8.946, allocations: 3.114 MB / 3.212 GB, free: 134.3 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/8.947, allocations: 224.6 kB / 3.213 GB, free: 134 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00731/8.954, allocations: 2.375 MB / 3.215 GB, free: 133.8 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.00079/8.955, allocations: 58.86 kB / 3.215 GB, free: 133.8 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002271/8.957, allocations: 1.318 MB / 3.216 GB, free: 133.7 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009809/8.958, allocations: 452.4 kB / 3.217 GB, free: 133.6 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/8.958, allocations: 30.47 kB / 3.217 GB, free: 133.6 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001817/8.958, allocations: 368.6 kB / 3.217 GB, free: 133.2 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002486/8.961, allocations: 0.8324 MB / 3.218 GB, free: 133.2 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/8.963, allocations: 1.255 MB / 3.219 GB, free: 132.8 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002531/8.966, allocations: 0.9565 MB / 3.22 GB, free: 132.8 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/8.966, allocations: 4.453 kB / 3.22 GB, free: 132.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007414/8.973, allocations: 2.53 MB / 3.222 GB, free: 132.5 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009179/8.974, allocations: 3.146 MB / 3.226 GB, free: 129.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/8.974, allocations: 7.969 kB / 3.226 GB, free: 129.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004414/8.975, allocations: 106.3 kB / 3.226 GB, free: 129.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/8.977, allocations: 443.4 kB / 3.226 GB, free: 129.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000904/8.978, allocations: 1.198 MB / 3.227 GB, free: 128.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004135/8.982, allocations: 331.9 kB / 3.228 GB, free: 128.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003484/8.982, allocations: 86 kB / 3.228 GB, free: 128.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/8.982, allocations: 3.281 kB / 3.228 GB, free: 128.1 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006589/8.989, allocations: 2.249 MB / 3.23 GB, free: 128 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.591e-05/8.989, allocations: 9.953 kB / 3.23 GB, free: 128 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/8.99, allocations: 108 kB / 3.23 GB, free: 128 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/8.992, allocations: 446.5 kB / 3.23 GB, free: 128 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/8.996, allocations: 3.323 MB / 3.234 GB, free: 125.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/9, allocations: 304.6 kB / 3.234 GB, free: 125.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005389/9.001, allocations: 82.09 kB / 3.234 GB, free: 125.2 MB / 1.198 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.002932/9.004, allocations: 0.7078 MB / 3.235 GB, free: 125 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001514/9.005, allocations: 308.4 kB / 3.235 GB, free: 124.8 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/9.015, allocations: 2.624 MB / 3.238 GB, free: 124.7 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.116e-05/9.015, allocations: 23.66 kB / 3.238 GB, free: 124.7 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/9.015, allocations: 6.828 kB / 3.238 GB, free: 124.7 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005462/9.021, allocations: 2.165 MB / 3.24 GB, free: 124.3 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/9.039, allocations: 5.655 MB / 3.245 GB, free: 123.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/9.04, allocations: 0 / 3.245 GB, free: 123.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/9.041, allocations: 333.3 kB / 3.246 GB, free: 123.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003758/9.042, allocations: 106.6 kB / 3.246 GB, free: 123.4 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/9.042, allocations: 52.36 kB / 3.246 GB, free: 123.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009601/9.043, allocations: 1.182 MB / 3.247 GB, free: 122.4 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/9.043, allocations: 4.812 kB / 3.247 GB, free: 122.4 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/9.053, allocations: 3.936 MB / 3.251 GB, free: 121.6 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003407/9.057, allocations: 0.6871 MB / 3.251 GB, free: 121.4 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/9.059, allocations: 37.14 kB / 3.251 GB, free: 121.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004009/9.063, allocations: 275 kB / 3.252 GB, free: 121.3 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/9.063, allocations: 97.17 kB / 3.252 GB, free: 121.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00033/9.063, allocations: 73.41 kB / 3.252 GB, free: 121.3 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.006324/9.07, allocations: 1.842 MB / 3.254 GB, free: 121.2 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.5e-07/9.07, allocations: 0 / 3.254 GB, free: 121.2 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.0133/9.083, allocations: 1.552 MB / 3.255 GB, free: 121.1 MB / 1.198 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.005807/9.089, allocations: 1.549 MB / 3.257 GB, free: 120.8 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.01118/9.1, allocations: 3.593 MB / 3.26 GB, free: 120.4 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-05/9.1, allocations: 3.953 kB / 3.26 GB, free: 120.4 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.003053/9.103, allocations: 1.139 MB / 3.261 GB, free: 120.4 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009588/9.113, allocations: 1.392 MB / 3.263 GB, free: 120.3 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/9.132, allocations: 6.419 MB / 3.269 GB, free: 117.7 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003584/9.136, allocations: 1.851 MB / 3.271 GB, free: 116.9 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.006124/9.142, allocations: 0.6777 MB / 3.271 GB, free: 116.9 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/9.143, allocations: 238.2 kB / 3.272 GB, free: 116.9 MB / 1.198 GB Notification: Performance of SimCode: time 1.432e-06/9.143, allocations: 0 / 3.272 GB, free: 116.9 MB / 1.198 GB Notification: Performance of Templates: time 0.1335/9.277, allocations: 63.69 MB / 3.334 GB, free: 113.9 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches