Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.TSetHea|hex.TSetCoo|temWar.T|temCol.T|hex.valCoo.y|hex.valHea.y|hex.QWat_flow",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.TSetHea|hex.TSetCoo|temWar.T|temCol.T|hex.valCoo.y|hex.valHea.y|hex.QWat_flow",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001089/0.001089, allocations: 188.9 kB / 498.1 MB, free: 5.77 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.564/1.564, allocations: 223.2 MB / 0.7949 GB, free: 18.92 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.0009497/0.0009497, allocations: 94.91 kB / 0.9346 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003779, allocations: 12.09 kB / 1.084 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3496, allocations: 142.3 MB / 1.223 GB, free: 89.62 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.309/1.659, allocations: 445.6 MB / 1.658 GB, free: 4.68 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003584/1.659, allocations: 97.75 kB / 1.658 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.359/7.018, allocations: 1.309 GB / 2.967 GB, free: 165.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.564e-06/7.018, allocations: 0 / 2.967 GB, free: 165.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006674/7.019, allocations: 88.42 kB / 2.967 GB, free: 165.5 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: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01185/7.03, allocations: 3.247 MB / 2.97 GB, free: 164 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/7.031, allocations: 6.719 kB / 2.97 GB, free: 164 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005959/7.037, allocations: 1.003 MB / 2.971 GB, free: 163.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008136/7.045, allocations: 2.968 MB / 2.974 GB, free: 163.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/7.045, allocations: 148.2 kB / 2.974 GB, free: 163.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006303/7.046, allocations: 201.9 kB / 2.974 GB, free: 163.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005924/7.052, allocations: 2.485 MB / 2.977 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.366e-05/7.052, allocations: 6.781 kB / 2.977 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/7.052, allocations: 81.92 kB / 2.977 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.51e-05/7.052, allocations: 47.53 kB / 2.977 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005667/7.058, allocations: 2.363 MB / 2.979 GB, free: 162.9 MB / 1.167 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.01922/7.077, allocations: 12.15 MB / 2.991 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006156/7.083, allocations: 2.112 MB / 2.993 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/7.084, allocations: 1.373 MB / 2.994 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/7.084, allocations: 52.89 kB / 2.994 GB, free: 155.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002515/7.087, allocations: 270.7 kB / 2.995 GB, free: 155.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=105): time 7.564e-06/7.087, allocations: 0 / 2.995 GB, free: 155.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=111): time 0.03082/7.118, allocations: 8.307 MB / 3.003 GB, free: 152.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/7.118, allocations: 166.4 kB / 3.003 GB, free: 152.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003456/7.121, allocations: 1.887 MB / 3.005 GB, free: 151.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003061/7.122, allocations: 52.02 kB / 3.005 GB, free: 151.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009093/7.123, allocations: 1.194 MB / 3.006 GB, free: 150.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/7.123, allocations: 386.5 kB / 3.006 GB, free: 150.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-05/7.123, allocations: 29.53 kB / 3.006 GB, free: 150.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001177/7.123, allocations: 367.4 kB / 3.007 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/7.125, allocations: 0.8899 MB / 3.007 GB, free: 149.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/7.128, allocations: 1.352 MB / 3.009 GB, free: 148.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/7.13, allocations: 0.9838 MB / 3.01 GB, free: 148.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/7.13, allocations: 2.906 kB / 3.01 GB, free: 148.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00812/7.138, allocations: 2.995 MB / 3.013 GB, free: 146.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00106/7.139, allocations: 3.742 MB / 3.016 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/7.139, allocations: 11.41 kB / 3.016 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005236/7.145, allocations: 1.361 MB / 3.018 GB, free: 142 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/7.146, allocations: 335.4 kB / 3.018 GB, free: 141.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/7.159, allocations: 6.21 MB / 3.024 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004308/7.163, allocations: 392.1 kB / 3.024 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/7.164, allocations: 74.88 kB / 3.025 GB, free: 137.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/7.164, allocations: 3.656 kB / 3.025 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005405/7.169, allocations: 2.322 MB / 3.027 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/7.169, allocations: 15.75 kB / 3.027 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002603/7.172, allocations: 0.667 MB / 3.027 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/7.173, allocations: 392 kB / 3.028 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/7.186, allocations: 6.88 MB / 3.035 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003927/7.19, allocations: 336.6 kB / 3.035 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/7.19, allocations: 69.41 kB / 3.035 GB, free: 130.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 16,3 35} Notification: Performance of prepare postOptimizeDAE: time 0.001894/7.192, allocations: 0.6265 MB / 3.036 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007182/7.193, allocations: 233.3 kB / 3.036 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005996/7.199, allocations: 2.496 MB / 3.038 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.764e-05/7.199, allocations: 19.2 kB / 3.038 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/7.199, allocations: 10.28 kB / 3.038 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004545/7.204, allocations: 2.341 MB / 3.041 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/7.215, allocations: 4.887 MB / 3.045 GB, free: 122.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/7.215, allocations: 0 / 3.045 GB, free: 122.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/7.216, allocations: 263.8 kB / 3.046 GB, free: 122.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002903/7.219, allocations: 0.8129 MB / 3.046 GB, free: 121.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/7.219, allocations: 35.97 kB / 3.046 GB, free: 121.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/7.221, allocations: 1.466 MB / 3.048 GB, free: 120.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/7.221, allocations: 7.953 kB / 3.048 GB, free: 120.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007633/7.229, allocations: 3.599 MB / 3.051 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/7.231, allocations: 0.5291 MB / 3.052 GB, free: 115.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003192/7.231, allocations: 24 kB / 3.052 GB, free: 115.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/7.233, allocations: 307.6 kB / 3.052 GB, free: 115.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/7.234, allocations: 76.84 kB / 3.052 GB, free: 115.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/7.234, allocations: 51.95 kB / 3.052 GB, free: 115.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002432/7.236, allocations: 1.455 MB / 3.054 GB, free: 114 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.11e-07/7.236, allocations: 0 / 3.054 GB, free: 114 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005276/7.241, allocations: 1.294 MB / 3.055 GB, free: 112.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.valCoo.vol.dynBal.U,hex.valHea.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.002263/7.244, allocations: 1.135 MB / 3.056 GB, free: 111.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008402/7.252, allocations: 3.803 MB / 3.06 GB, free: 107.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/7.252, allocations: 4.75 kB / 3.06 GB, free: 107.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002176/7.254, allocations: 0.9831 MB / 3.061 GB, free: 106.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005927/7.26, allocations: 1.113 MB / 3.062 GB, free: 105.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/7.274, allocations: 5.77 MB / 3.067 GB, free: 100.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/7.275, allocations: 1.676 MB / 3.069 GB, free: 98.36 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00315/7.278, allocations: 484.5 kB / 3.07 GB, free: 97.93 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/7.279, allocations: 175.4 kB / 3.07 GB, free: 97.76 MB / 1.167 GB Notification: Performance of SimCode: time 1.172e-06/7.279, allocations: 0 / 3.07 GB, free: 97.76 MB / 1.167 GB Notification: Performance of Templates: time 0.08715/7.366, allocations: 61.4 MB / 3.13 GB, free: 38.25 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches