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.323/2.323, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001136/0.001136, allocations: 184.7 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.774/1.774, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009132/0.0009137, allocations: 91.95 kB / 0.9318 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.623e-05/5.626e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3639, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.464/1.828, allocations: 448.9 MB / 1.657 GB, free: 1.477 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/1.829, allocations: 103.9 kB / 1.657 GB, free: 1.375 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 6.731/8.559, allocations: 1.513 GB / 3.171 GB, free: 130.7 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.064e-06/8.559, allocations: 0 / 3.171 GB, free: 130.7 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003504/8.56, allocations: 87.06 kB / 3.171 GB, free: 130.6 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.007885/8.568, allocations: 3.227 MB / 3.174 GB, free: 129.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/8.568, allocations: 11.62 kB / 3.174 GB, free: 129.3 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003907/8.572, allocations: 0.7903 MB / 3.175 GB, free: 129.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008798/8.58, allocations: 3.342 MB / 3.178 GB, free: 128.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001312/8.582, allocations: 424.4 kB / 3.178 GB, free: 128.5 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006963/8.583, allocations: 211.4 kB / 3.179 GB, free: 128.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004911/8.587, allocations: 2.294 MB / 3.181 GB, free: 128.2 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/8.588, allocations: 7.828 kB / 3.181 GB, free: 128.2 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/8.588, allocations: 85.88 kB / 3.181 GB, free: 128.2 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.829e-05/8.588, allocations: 70.78 kB / 3.181 GB, free: 128.2 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003577/8.591, allocations: 1.927 MB / 3.183 GB, free: 128.2 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.01936/8.611, allocations: 12.72 MB / 3.195 GB, free: 122.2 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/8.613, allocations: 1.373 MB / 3.197 GB, free: 122 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/8.614, allocations: 0.7488 MB / 3.197 GB, free: 121.9 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/8.615, allocations: 1.649 MB / 3.199 GB, free: 120.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/8.616, allocations: 0.8903 MB / 3.2 GB, free: 120 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001945/8.618, allocations: 202.9 kB / 3.2 GB, free: 120 MB / 1.182 GB Notification: Performance of pre-optimization done (n=131): time 5.66e-06/8.618, allocations: 0 / 3.2 GB, free: 120 MB / 1.182 GB Notification: Performance of matching and sorting (n=131): time 0.003155/8.622, allocations: 1.709 MB / 3.202 GB, free: 119.7 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/8.622, allocations: 226.4 kB / 3.202 GB, free: 119.4 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003534/8.625, allocations: 2.304 MB / 3.204 GB, free: 119.2 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0003423/8.626, allocations: 63.27 kB / 3.204 GB, free: 119.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/8.627, allocations: 1.329 MB / 3.206 GB, free: 118.8 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004598/8.627, allocations: 444.6 kB / 3.206 GB, free: 118.5 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/8.627, allocations: 31.28 kB / 3.206 GB, free: 118.5 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001104/8.627, allocations: 363.8 kB / 3.206 GB, free: 118.2 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/8.629, allocations: 0.6098 MB / 3.207 GB, free: 118.2 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/8.63, allocations: 1.036 MB / 3.208 GB, free: 117.8 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/8.631, allocations: 0.75 MB / 3.209 GB, free: 117.7 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.669e-06/8.631, allocations: 3.469 kB / 3.209 GB, free: 117.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004261/8.635, allocations: 2.095 MB / 3.211 GB, free: 117.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007732/8.636, allocations: 3.124 MB / 3.214 GB, free: 114.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/8.636, allocations: 9.984 kB / 3.214 GB, free: 114.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003378/8.637, allocations: 111.1 kB / 3.214 GB, free: 114.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/8.638, allocations: 442.3 kB / 3.214 GB, free: 114.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007698/8.639, allocations: 1.209 MB / 3.216 GB, free: 113.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/8.643, allocations: 332 kB / 3.216 GB, free: 113.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/8.643, allocations: 79.67 kB / 3.216 GB, free: 113.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/8.643, allocations: 6.469 kB / 3.216 GB, free: 113.1 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003435/8.647, allocations: 1.809 MB / 3.218 GB, free: 113 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/8.647, allocations: 6.5 kB / 3.218 GB, free: 113 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003644/8.647, allocations: 110.6 kB / 3.218 GB, free: 113 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/8.649, allocations: 446.9 kB / 3.218 GB, free: 113 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/8.652, allocations: 3.283 MB / 3.221 GB, free: 110.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/8.655, allocations: 312.8 kB / 3.222 GB, free: 110.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002692/8.655, allocations: 84.81 kB / 3.222 GB, free: 110.1 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.0005739/8.656, allocations: 230.5 kB / 3.222 GB, free: 110 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008193/8.657, allocations: 303.4 kB / 3.222 GB, free: 109.8 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004503/8.661, allocations: 2.247 MB / 3.225 GB, free: 109.7 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/8.661, allocations: 20.44 kB / 3.225 GB, free: 109.7 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/8.661, allocations: 0 / 3.225 GB, free: 109.7 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002483/8.664, allocations: 1.793 MB / 3.226 GB, free: 109.3 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/8.675, allocations: 5.439 MB / 3.232 GB, free: 108.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/8.675, allocations: 6.375 kB / 3.232 GB, free: 108.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/8.677, allocations: 333.7 kB / 3.232 GB, free: 108.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000376/8.677, allocations: 107.8 kB / 3.232 GB, free: 108.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/8.677, allocations: 47.89 kB / 3.232 GB, free: 108.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/8.679, allocations: 1.194 MB / 3.233 GB, free: 107.2 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/8.679, allocations: 3.875 kB / 3.233 GB, free: 107.2 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006585/8.685, allocations: 3.476 MB / 3.237 GB, free: 106.3 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002711/8.688, allocations: 0.6865 MB / 3.237 GB, free: 106 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/8.689, allocations: 35.88 kB / 3.237 GB, free: 106 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003516/8.693, allocations: 274.4 kB / 3.238 GB, free: 106 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/8.693, allocations: 110.3 kB / 3.238 GB, free: 106 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/8.693, allocations: 72.09 kB / 3.238 GB, free: 106 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004878/8.698, allocations: 1.803 MB / 3.24 GB, free: 105.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.11e-07/8.698, allocations: 0 / 3.24 GB, free: 105.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.009645/8.708, allocations: 1.55 MB / 3.241 GB, free: 105.6 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.003887/8.712, allocations: 1.522 MB / 3.243 GB, free: 105.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006613/8.718, allocations: 3.063 MB / 3.246 GB, free: 104.8 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/8.718, allocations: 1.812 kB / 3.246 GB, free: 104.8 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/8.72, allocations: 0.9429 MB / 3.246 GB, free: 104.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008973/8.729, allocations: 1.433 MB / 3.248 GB, free: 104.7 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/8.742, allocations: 4.208 MB / 3.252 GB, free: 103.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002544/8.745, allocations: 1.855 MB / 3.254 GB, free: 102.8 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.006649/8.752, allocations: 0.8412 MB / 3.255 GB, free: 102.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007315/8.752, allocations: 187.2 kB / 3.255 GB, free: 102.8 MB / 1.182 GB Notification: Performance of SimCode: time 1.002e-06/8.752, allocations: 0 / 3.255 GB, free: 102.8 MB / 1.182 GB Notification: Performance of Templates: time 0.116/8.868, allocations: 71.46 MB / 3.325 GB, free: 97.43 MB / 1.182 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