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.318/2.318, allocations: 390.5 MB / 398 MB, free: 10.89 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.001047/0.001047, allocations: 184.2 kB / 491.2 MB, free: 1.555 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.735/1.735, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001094/0.001095, allocations: 103.9 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.735e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3638, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.433/1.797, allocations: 448.3 MB / 1.65 GB, free: 15.07 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/1.797, allocations: 99.56 kB / 1.65 GB, free: 15.01 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 6.73/8.528, allocations: 1.506 GB / 3.156 GB, free: 144.7 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.774e-06/8.528, allocations: 3.75 kB / 3.156 GB, free: 144.7 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.000445/8.528, allocations: 83.72 kB / 3.156 GB, free: 144.7 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.01067/8.539, allocations: 3.225 MB / 3.16 GB, free: 143.6 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 7.978e-05/8.539, allocations: 11.88 kB / 3.16 GB, free: 143.6 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/8.544, allocations: 0.7887 MB / 3.16 GB, free: 143.4 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009522/8.553, allocations: 3.343 MB / 3.164 GB, free: 142.9 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00118/8.555, allocations: 351.3 kB / 3.164 GB, free: 142.9 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003791/8.555, allocations: 129.5 kB / 3.164 GB, free: 142.9 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00324/8.558, allocations: 1.829 MB / 3.166 GB, free: 142.9 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/8.562, allocations: 2.019 MB / 3.168 GB, free: 142.6 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/8.562, allocations: 9.891 kB / 3.168 GB, free: 142.6 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/8.562, allocations: 3.719 kB / 3.168 GB, free: 142.6 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.374e-05/8.562, allocations: 67.47 kB / 3.168 GB, free: 142.6 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.01702/8.579, allocations: 12.28 MB / 3.18 GB, free: 136.8 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/8.581, allocations: 1.33 MB / 3.181 GB, free: 136.6 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009208/8.582, allocations: 0.7145 MB / 3.182 GB, free: 136.6 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/8.583, allocations: 1.653 MB / 3.184 GB, free: 134.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/8.584, allocations: 0.8597 MB / 3.184 GB, free: 134.7 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00225/8.587, allocations: 150.2 kB / 3.185 GB, free: 134.6 MB / 1.198 GB Notification: Performance of pre-optimization done (n=131): time 7.433e-06/8.587, allocations: 0 / 3.185 GB, free: 134.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=131): time 0.00461/8.591, allocations: 1.757 MB / 3.186 GB, free: 134.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/8.591, allocations: 223.2 kB / 3.186 GB, free: 134.1 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/8.594, allocations: 1.918 MB / 3.188 GB, free: 133.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001895/8.595, allocations: 30.23 kB / 3.188 GB, free: 133.9 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001329/8.596, allocations: 1.333 MB / 3.19 GB, free: 133.4 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/8.596, allocations: 437.7 kB / 3.19 GB, free: 133.2 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.824e-05/8.596, allocations: 0 / 3.19 GB, free: 133.2 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001145/8.596, allocations: 364.6 kB / 3.19 GB, free: 132.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008948/8.597, allocations: 0.5887 MB / 3.191 GB, free: 132.9 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/8.598, allocations: 0.9975 MB / 3.192 GB, free: 132.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/8.601, allocations: 0.8522 MB / 3.193 GB, free: 132.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/8.601, allocations: 3.812 kB / 3.193 GB, free: 132.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004157/8.605, allocations: 2.104 MB / 3.195 GB, free: 132.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005824/8.605, allocations: 3.075 MB / 3.198 GB, free: 129 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/8.605, allocations: 7.812 kB / 3.198 GB, free: 129 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/8.606, allocations: 101.3 kB / 3.198 GB, free: 129 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/8.607, allocations: 444.4 kB / 3.198 GB, free: 129 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006782/8.608, allocations: 1.23 MB / 3.2 GB, free: 127.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/8.611, allocations: 285.7 kB / 3.2 GB, free: 127.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/8.611, allocations: 87.17 kB / 3.2 GB, free: 127.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/8.611, allocations: 4.5 kB / 3.2 GB, free: 127.9 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003722/8.615, allocations: 1.772 MB / 3.202 GB, free: 127.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/8.615, allocations: 7.156 kB / 3.202 GB, free: 127.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/8.616, allocations: 108.5 kB / 3.202 GB, free: 127.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/8.617, allocations: 441.5 kB / 3.202 GB, free: 127.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/8.62, allocations: 3.164 MB / 3.205 GB, free: 125.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/8.623, allocations: 254.2 kB / 3.206 GB, free: 125.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/8.623, allocations: 87.34 kB / 3.206 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 () * 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.0005795/8.624, allocations: 185.9 kB / 3.206 GB, free: 125 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006098/8.625, allocations: 282.2 kB / 3.206 GB, free: 124.9 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005295/8.63, allocations: 2.186 MB / 3.208 GB, free: 124.7 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.302e-05/8.63, allocations: 24.41 kB / 3.208 GB, free: 124.7 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/8.63, allocations: 2.312 kB / 3.208 GB, free: 124.7 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003391/8.633, allocations: 1.778 MB / 3.21 GB, free: 124.4 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/8.644, allocations: 5.125 MB / 3.215 GB, free: 123.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/8.644, allocations: 3.906 kB / 3.215 GB, free: 123.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/8.646, allocations: 334.3 kB / 3.215 GB, free: 123.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/8.646, allocations: 86.2 kB / 3.215 GB, free: 123.5 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/8.646, allocations: 38.89 kB / 3.215 GB, free: 123.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005716/8.646, allocations: 1.176 MB / 3.217 GB, free: 122.4 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/8.646, allocations: 6.469 kB / 3.217 GB, free: 122.4 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005413/8.652, allocations: 3.348 MB / 3.22 GB, free: 121.6 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/8.654, allocations: 0.6544 MB / 3.221 GB, free: 121.3 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003854/8.654, allocations: 10.72 kB / 3.221 GB, free: 121.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/8.656, allocations: 247.1 kB / 3.221 GB, free: 121.3 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/8.657, allocations: 111.2 kB / 3.221 GB, free: 121.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/8.657, allocations: 73.16 kB / 3.221 GB, free: 121.3 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002313/8.659, allocations: 1.432 MB / 3.222 GB, free: 121.2 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.9e-07/8.659, allocations: 0 / 3.222 GB, free: 121.2 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.006291/8.665, allocations: 1.521 MB / 3.224 GB, free: 120.9 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.003032/8.668, allocations: 1.538 MB / 3.225 GB, free: 120.5 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004712/8.673, allocations: 2.918 MB / 3.228 GB, free: 120.1 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/8.673, allocations: 6.5 kB / 3.228 GB, free: 120.1 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/8.674, allocations: 0.8987 MB / 3.229 GB, free: 120 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007028/8.681, allocations: 1.132 MB / 3.23 GB, free: 120 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/8.692, allocations: 4.064 MB / 3.234 GB, free: 118.9 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/8.694, allocations: 1.854 MB / 3.236 GB, free: 118.2 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.004589/8.698, allocations: 0.7748 MB / 3.237 GB, free: 118.1 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/8.699, allocations: 177.2 kB / 3.237 GB, free: 118.1 MB / 1.198 GB Notification: Performance of SimCode: time 1.002e-06/8.699, allocations: 2.062 kB / 3.237 GB, free: 118.1 MB / 1.198 GB Notification: Performance of Templates: time 0.09492/8.794, allocations: 55.59 MB / 3.291 GB, free: 115.2 MB / 1.198 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