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.482/2.482, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001102/0.001102, allocations: 188.1 kB / 492.3 MB, free: 0.6211 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: 221.3 MB / 0.7872 GB, free: 12.93 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.001026/0.001025, allocations: 101.2 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.626e-05/3.628e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3687, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.557/1.926, allocations: 448.2 MB / 1.65 GB, free: 14.65 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/1.926, allocations: 97.88 kB / 1.65 GB, free: 14.59 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 6.887/8.814, allocations: 1.514 GB / 3.164 GB, free: 145 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.353e-06/8.814, allocations: 0 / 3.164 GB, free: 145 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0003942/8.814, allocations: 90.77 kB / 3.164 GB, free: 145 MB / 1.198 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.008718/8.823, allocations: 3.229 MB / 3.167 GB, free: 143.8 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/8.823, allocations: 7.719 kB / 3.167 GB, free: 143.8 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003927/8.827, allocations: 0.7846 MB / 3.168 GB, free: 143.6 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00811/8.835, allocations: 3.344 MB / 3.171 GB, free: 143.2 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001242/8.836, allocations: 434.7 kB / 3.171 GB, free: 143.2 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006104/8.837, allocations: 210 kB / 3.172 GB, free: 143.2 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/8.841, allocations: 2.299 MB / 3.174 GB, free: 142.9 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-05/8.841, allocations: 0 / 3.174 GB, free: 142.9 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/8.841, allocations: 81.72 kB / 3.174 GB, free: 142.9 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-05/8.841, allocations: 76.86 kB / 3.174 GB, free: 142.9 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003207/8.845, allocations: 1.932 MB / 3.176 GB, free: 142.9 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.01837/8.863, allocations: 12.71 MB / 3.188 GB, free: 136.9 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/8.865, allocations: 1.37 MB / 3.19 GB, free: 136.7 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/8.866, allocations: 0.7515 MB / 3.19 GB, free: 136.6 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/8.867, allocations: 1.645 MB / 3.192 GB, free: 134.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/8.869, allocations: 0.8989 MB / 3.193 GB, free: 134.7 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002054/8.871, allocations: 201.8 kB / 3.193 GB, free: 134.7 MB / 1.198 GB Notification: Performance of pre-optimization done (n=131): time 4.288e-06/8.871, allocations: 0 / 3.193 GB, free: 134.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=131): time 0.003105/8.874, allocations: 1.716 MB / 3.195 GB, free: 134.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/8.874, allocations: 220.8 kB / 3.195 GB, free: 134.1 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003769/8.878, allocations: 2.307 MB / 3.197 GB, free: 133.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002495/8.878, allocations: 57.58 kB / 3.197 GB, free: 133.9 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/8.879, allocations: 1.326 MB / 3.199 GB, free: 133.5 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/8.88, allocations: 451.2 kB / 3.199 GB, free: 133.2 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/8.88, allocations: 28.47 kB / 3.199 GB, free: 133.2 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001289/8.88, allocations: 364.7 kB / 3.199 GB, free: 132.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/8.881, allocations: 0.6111 MB / 3.2 GB, free: 132.9 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/8.882, allocations: 1.043 MB / 3.201 GB, free: 132.5 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/8.883, allocations: 0.7372 MB / 3.202 GB, free: 132.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/8.883, allocations: 3.844 kB / 3.202 GB, free: 132.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004084/8.887, allocations: 2.088 MB / 3.204 GB, free: 132.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000822/8.888, allocations: 3.133 MB / 3.207 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/8.888, allocations: 13.09 kB / 3.207 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/8.889, allocations: 113.5 kB / 3.207 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/8.89, allocations: 447.8 kB / 3.207 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007172/8.891, allocations: 1.202 MB / 3.209 GB, free: 127.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/8.895, allocations: 327 kB / 3.209 GB, free: 127.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/8.895, allocations: 83.67 kB / 3.209 GB, free: 127.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/8.895, allocations: 4.781 kB / 3.209 GB, free: 127.8 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003341/8.898, allocations: 1.814 MB / 3.211 GB, free: 127.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/8.898, allocations: 7.656 kB / 3.211 GB, free: 127.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/8.899, allocations: 104 kB / 3.211 GB, free: 127.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/8.901, allocations: 446 kB / 3.211 GB, free: 127.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/8.904, allocations: 3.301 MB / 3.214 GB, free: 124.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/8.908, allocations: 304.3 kB / 3.215 GB, free: 124.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003028/8.908, allocations: 83.23 kB / 3.215 GB, free: 124.8 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 () * 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.0007361/8.909, allocations: 238.4 kB / 3.215 GB, free: 124.7 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/8.91, allocations: 300.5 kB / 3.215 GB, free: 124.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005133/8.915, allocations: 2.247 MB / 3.218 GB, free: 124.4 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/8.915, allocations: 20.83 kB / 3.218 GB, free: 124.4 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/8.915, allocations: 0 / 3.218 GB, free: 124.4 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002671/8.918, allocations: 1.799 MB / 3.219 GB, free: 124 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/8.929, allocations: 5.431 MB / 3.225 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/8.929, allocations: 3.938 kB / 3.225 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/8.931, allocations: 330.6 kB / 3.225 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/8.931, allocations: 112 kB / 3.225 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/8.931, allocations: 45.8 kB / 3.225 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006775/8.932, allocations: 1.186 MB / 3.226 GB, free: 121.9 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/8.932, allocations: 4.344 kB / 3.226 GB, free: 121.9 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005639/8.937, allocations: 3.482 MB / 3.23 GB, free: 121 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002757/8.94, allocations: 0.6886 MB / 3.23 GB, free: 120.7 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001346/8.942, allocations: 38.5 kB / 3.23 GB, free: 120.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003672/8.945, allocations: 276.5 kB / 3.231 GB, free: 120.7 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/8.946, allocations: 105.3 kB / 3.231 GB, free: 120.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002564/8.946, allocations: 72.91 kB / 3.231 GB, free: 120.7 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.005489/8.951, allocations: 1.791 MB / 3.233 GB, free: 120.5 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.114e-06/8.951, allocations: 0 / 3.233 GB, free: 120.5 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01059/8.962, allocations: 1.553 MB / 3.234 GB, free: 120.4 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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) * 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.004065/8.966, allocations: 1.549 MB / 3.236 GB, free: 119.9 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.007372/8.973, allocations: 3.069 MB / 3.239 GB, free: 119.5 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/8.974, allocations: 0 / 3.239 GB, free: 119.5 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002495/8.976, allocations: 0.9387 MB / 3.239 GB, free: 119.5 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009683/8.986, allocations: 1.429 MB / 3.241 GB, free: 119.4 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/8.999, allocations: 4.206 MB / 3.245 GB, free: 118.3 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002982/9.002, allocations: 1.854 MB / 3.247 GB, free: 117.6 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.00729/9.009, allocations: 0.839 MB / 3.248 GB, free: 117.5 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007767/9.01, allocations: 191.6 kB / 3.248 GB, free: 117.5 MB / 1.198 GB Notification: Performance of SimCode: time 2.816e-06/9.01, allocations: 0 / 3.248 GB, free: 117.5 MB / 1.198 GB Notification: Performance of Templates: time 0.1235/9.134, allocations: 71.53 MB / 3.318 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