Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.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_Heating,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_Heating") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,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_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.545/2.545, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.00117/0.00117, allocations: 177.2 kB / 498.1 MB, free: 5.746 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.561/1.561, allocations: 223.2 MB / 0.7949 GB, free: 17.89 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.001103/0.001103, allocations: 96.8 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 9.906 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.351, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.341/1.692, allocations: 445.3 MB / 1.658 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/1.693, allocations: 102.7 kB / 1.658 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.077/6.77, allocations: 1.308 GB / 2.966 GB, free: 165 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.606e-06/6.77, allocations: 3.438 kB / 2.966 GB, free: 165 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003775/6.77, allocations: 78.09 kB / 2.966 GB, free: 165 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.009188/6.78, allocations: 3.244 MB / 2.969 GB, free: 163.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/6.78, allocations: 10.75 kB / 2.969 GB, free: 163.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/6.785, allocations: 1.011 MB / 2.97 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00732/6.792, allocations: 2.957 MB / 2.973 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/6.792, allocations: 145.8 kB / 2.973 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003844/6.793, allocations: 202.3 kB / 2.974 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00504/6.798, allocations: 2.487 MB / 2.976 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.425e-05/6.798, allocations: 6.531 kB / 2.976 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/6.798, allocations: 80.27 kB / 2.976 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.971e-05/6.798, allocations: 50.38 kB / 2.976 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005372/6.803, allocations: 2.356 MB / 2.978 GB, free: 162.6 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.0163/6.82, allocations: 12.15 MB / 2.99 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007388/6.827, allocations: 2.337 MB / 2.993 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009853/6.828, allocations: 1.373 MB / 2.994 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/6.828, allocations: 45.28 kB / 2.994 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002138/6.83, allocations: 280.1 kB / 2.994 GB, free: 155 MB / 1.167 GB Notification: Performance of pre-optimization done (n=105): time 3.186e-06/6.83, allocations: 1.859 kB / 2.994 GB, free: 155 MB / 1.167 GB Notification: Performance of matching and sorting (n=111): time 0.02972/6.86, allocations: 8.287 MB / 3.002 GB, free: 154.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/6.86, allocations: 169.1 kB / 3.002 GB, free: 153.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/6.863, allocations: 1.888 MB / 3.004 GB, free: 153.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002322/6.864, allocations: 54.73 kB / 3.004 GB, free: 153.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008029/6.864, allocations: 1.194 MB / 3.006 GB, free: 153.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/6.865, allocations: 388.6 kB / 3.006 GB, free: 153 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/6.865, allocations: 31.53 kB / 3.006 GB, free: 153 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/6.865, allocations: 360.4 kB / 3.006 GB, free: 152.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/6.867, allocations: 0.8934 MB / 3.007 GB, free: 152.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/6.869, allocations: 1.354 MB / 3.008 GB, free: 151.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/6.871, allocations: 0.9889 MB / 3.009 GB, free: 151.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/6.871, allocations: 3.219 kB / 3.009 GB, free: 151.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01148/6.883, allocations: 3.01 MB / 3.012 GB, free: 150.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001128/6.884, allocations: 3.741 MB / 3.016 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/6.884, allocations: 11.41 kB / 3.016 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007935/6.892, allocations: 1.355 MB / 3.017 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/6.894, allocations: 332.5 kB / 3.018 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01836/6.913, allocations: 6.22 MB / 3.024 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00544/6.918, allocations: 398.8 kB / 3.024 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004985/6.919, allocations: 75.69 kB / 3.024 GB, free: 142.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/6.919, allocations: 7.578 kB / 3.024 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008009/6.927, allocations: 2.318 MB / 3.026 GB, free: 141.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/6.927, allocations: 10.03 kB / 3.026 GB, free: 141.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003758/6.931, allocations: 0.6674 MB / 3.027 GB, free: 141.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/6.932, allocations: 394.8 kB / 3.027 GB, free: 141.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/6.945, allocations: 6.874 MB / 3.034 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/6.948, allocations: 341.5 kB / 3.035 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/6.949, allocations: 79.33 kB / 3.035 GB, free: 137 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.001749/6.95, allocations: 0.6144 MB / 3.035 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006014/6.951, allocations: 236.2 kB / 3.035 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005574/6.957, allocations: 2.497 MB / 3.038 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/6.957, allocations: 25.7 kB / 3.038 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/6.957, allocations: 0 / 3.038 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004193/6.961, allocations: 2.333 MB / 3.04 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009553/6.97, allocations: 4.894 MB / 3.045 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/6.97, allocations: 0 / 3.045 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/6.972, allocations: 270.9 kB / 3.045 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00285/6.975, allocations: 0.8003 MB / 3.046 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/6.975, allocations: 38.14 kB / 3.046 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/6.977, allocations: 1.473 MB / 3.047 GB, free: 131.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/6.977, allocations: 3.953 kB / 3.047 GB, free: 131.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007781/6.984, allocations: 3.594 MB / 3.051 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/6.987, allocations: 0.5228 MB / 3.051 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004285/6.987, allocations: 27.22 kB / 3.052 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/6.99, allocations: 311.5 kB / 3.052 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/6.99, allocations: 84.47 kB / 3.052 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/6.99, allocations: 50.38 kB / 3.052 GB, free: 129.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004048/6.994, allocations: 1.454 MB / 3.053 GB, free: 128.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.4e-07/6.994, allocations: 3.938 kB / 3.053 GB, free: 128.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008945/7.003, allocations: 1.297 MB / 3.055 GB, free: 128.6 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.003593/7.007, allocations: 1.142 MB / 3.056 GB, free: 128.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01193/7.019, allocations: 3.791 MB / 3.059 GB, free: 126.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/7.019, allocations: 7.141 kB / 3.059 GB, free: 126.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003068/7.022, allocations: 0.9924 MB / 3.06 GB, free: 125.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007319/7.029, allocations: 1.11 MB / 3.062 GB, free: 124.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/7.046, allocations: 5.769 MB / 3.067 GB, free: 118.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/7.047, allocations: 1.68 MB / 3.069 GB, free: 116.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002638/7.049, allocations: 471 kB / 3.069 GB, free: 116.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/7.05, allocations: 179.4 kB / 3.069 GB, free: 116.3 MB / 1.167 GB Notification: Performance of SimCode: time 7.52e-07/7.05, allocations: 0 / 3.069 GB, free: 116.3 MB / 1.167 GB Notification: Performance of Templates: time 0.08382/7.134, allocations: 61.4 MB / 3.129 GB, free: 56.92 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches