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.359/2.359, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.00114/0.001141, allocations: 176.9 kB / 487.4 MB, free: 5.047 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.785/1.785, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00095/0.00095, allocations: 87.91 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.033e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3681, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.565/1.934, allocations: 447.5 MB / 1.643 GB, free: 7.281 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/1.934, allocations: 100.5 kB / 1.643 GB, free: 7.227 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 7.062/8.996, allocations: 1.506 GB / 3.149 GB, free: 135.9 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.904e-06/8.996, allocations: 3.625 kB / 3.149 GB, free: 135.9 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004718/8.997, allocations: 84.8 kB / 3.149 GB, free: 135.9 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.01191/9.009, allocations: 3.224 MB / 3.153 GB, free: 134.7 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/9.009, allocations: 14.16 kB / 3.153 GB, free: 134.7 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004661/9.014, allocations: 0.7932 MB / 3.153 GB, free: 134.5 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007878/9.021, allocations: 3.346 MB / 3.157 GB, free: 134 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00121/9.023, allocations: 348.3 kB / 3.157 GB, free: 134 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004653/9.023, allocations: 133 kB / 3.157 GB, free: 134 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00341/9.027, allocations: 1.826 MB / 3.159 GB, free: 134 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/9.03, allocations: 2.013 MB / 3.161 GB, free: 133.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.035e-05/9.03, allocations: 2.844 kB / 3.161 GB, free: 133.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/9.03, allocations: 12.27 kB / 3.161 GB, free: 133.7 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-05/9.03, allocations: 69.81 kB / 3.161 GB, free: 133.7 MB / 1.182 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.01856/9.049, allocations: 12.28 MB / 3.173 GB, free: 127.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/9.051, allocations: 1.325 MB / 3.174 GB, free: 127.6 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/9.052, allocations: 0.7228 MB / 3.175 GB, free: 127.6 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001666/9.054, allocations: 1.651 MB / 3.177 GB, free: 125.8 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/9.055, allocations: 0.8566 MB / 3.177 GB, free: 125.7 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002235/9.057, allocations: 152.5 kB / 3.178 GB, free: 125.6 MB / 1.182 GB Notification: Performance of pre-optimization done (n=131): time 4.579e-06/9.057, allocations: 0 / 3.178 GB, free: 125.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=131): time 0.004874/9.062, allocations: 1.751 MB / 3.179 GB, free: 125.4 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/9.062, allocations: 226.3 kB / 3.179 GB, free: 125.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003647/9.066, allocations: 1.914 MB / 3.181 GB, free: 124.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002187/9.066, allocations: 32.61 kB / 3.181 GB, free: 124.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/9.068, allocations: 1.334 MB / 3.183 GB, free: 124.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.000375/9.068, allocations: 433.5 kB / 3.183 GB, free: 124.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.798e-05/9.068, allocations: 3.344 kB / 3.183 GB, free: 124.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001104/9.068, allocations: 360.1 kB / 3.183 GB, free: 123.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008831/9.069, allocations: 0.5919 MB / 3.184 GB, free: 123.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/9.07, allocations: 0.9996 MB / 3.185 GB, free: 123.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/9.072, allocations: 0.8469 MB / 3.186 GB, free: 123.4 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/9.072, allocations: 3.875 kB / 3.186 GB, free: 123.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004934/9.077, allocations: 2.106 MB / 3.188 GB, free: 123.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008837/9.078, allocations: 3.084 MB / 3.191 GB, free: 120 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/9.078, allocations: 10.78 kB / 3.191 GB, free: 120 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/9.079, allocations: 102.6 kB / 3.191 GB, free: 120 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/9.08, allocations: 444.7 kB / 3.191 GB, free: 120 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008854/9.081, allocations: 1.221 MB / 3.193 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003711/9.085, allocations: 282.8 kB / 3.193 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/9.085, allocations: 83.84 kB / 3.193 GB, free: 118.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/9.085, allocations: 3.562 kB / 3.193 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004231/9.09, allocations: 1.78 MB / 3.195 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/9.09, allocations: 7.5 kB / 3.195 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/9.09, allocations: 109.2 kB / 3.195 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/9.092, allocations: 443.6 kB / 3.195 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/9.095, allocations: 3.169 MB / 3.198 GB, free: 116.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/9.098, allocations: 254.2 kB / 3.199 GB, free: 116.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/9.098, allocations: 83.06 kB / 3.199 GB, free: 116.2 MB / 1.182 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.0005796/9.099, allocations: 180.5 kB / 3.199 GB, free: 116 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006529/9.099, allocations: 272.8 kB / 3.199 GB, free: 115.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/9.104, allocations: 2.205 MB / 3.201 GB, free: 115.7 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/9.105, allocations: 21.03 kB / 3.201 GB, free: 115.7 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/9.105, allocations: 3.953 kB / 3.201 GB, free: 115.7 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003122/9.108, allocations: 1.778 MB / 3.203 GB, free: 115.4 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/9.118, allocations: 5.121 MB / 3.208 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/9.118, allocations: 3.812 kB / 3.208 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/9.12, allocations: 334.7 kB / 3.208 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001854/9.12, allocations: 86.95 kB / 3.208 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/9.12, allocations: 32.81 kB / 3.208 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006208/9.121, allocations: 1.187 MB / 3.21 GB, free: 113.4 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/9.121, allocations: 8.25 kB / 3.21 GB, free: 113.4 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006145/9.127, allocations: 3.34 MB / 3.213 GB, free: 112.6 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002206/9.129, allocations: 0.6587 MB / 3.214 GB, free: 112.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/9.13, allocations: 14.28 kB / 3.214 GB, free: 112.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00317/9.134, allocations: 240.5 kB / 3.214 GB, free: 112.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/9.134, allocations: 108.5 kB / 3.214 GB, free: 112.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002389/9.134, allocations: 72.81 kB / 3.214 GB, free: 112.3 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003756/9.138, allocations: 1.438 MB / 3.215 GB, free: 112.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.8e-07/9.138, allocations: 0 / 3.215 GB, free: 112.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.009201/9.147, allocations: 1.527 MB / 3.217 GB, free: 111.9 MB / 1.182 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.00384/9.151, allocations: 1.537 MB / 3.218 GB, free: 111.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005954/9.157, allocations: 2.917 MB / 3.221 GB, free: 111.1 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/9.157, allocations: 0 / 3.221 GB, free: 111.1 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/9.159, allocations: 0.899 MB / 3.222 GB, free: 111.1 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00735/9.166, allocations: 1.132 MB / 3.223 GB, free: 111.1 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/9.178, allocations: 4.085 MB / 3.227 GB, free: 109.9 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002348/9.181, allocations: 1.854 MB / 3.229 GB, free: 109.2 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.006066/9.187, allocations: 0.7757 MB / 3.23 GB, free: 109.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007713/9.188, allocations: 177 kB / 3.23 GB, free: 109.1 MB / 1.182 GB Notification: Performance of SimCode: time 1.132e-06/9.188, allocations: 0 / 3.23 GB, free: 109.1 MB / 1.182 GB Notification: Performance of Templates: time 0.09605/9.284, allocations: 55.62 MB / 3.284 GB, free: 106.1 MB / 1.182 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