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.37/2.37, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001079/0.001079, allocations: 180.9 kB / 492.3 MB, free: 0.6484 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.781/1.781, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008912/0.000891, allocations: 91.83 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.075e-05/4.078e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3417, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.506/1.848, allocations: 445.2 MB / 1.647 GB, free: 1.793 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/1.848, allocations: 94.75 kB / 1.647 GB, free: 1.742 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.277/7.126, allocations: 1.304 GB / 2.952 GB, free: 122.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.834e-06/7.126, allocations: 0 / 2.952 GB, free: 122.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.00034/7.126, allocations: 87.84 kB / 2.952 GB, free: 122.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.006517/7.132, allocations: 2.734 MB / 2.954 GB, free: 119.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/7.133, allocations: 11.2 kB / 2.954 GB, free: 119.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005062/7.138, allocations: 1.007 MB / 2.955 GB, free: 118.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00626/7.144, allocations: 2.93 MB / 2.958 GB, free: 115.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.673e-05/7.144, allocations: 151.7 kB / 2.958 GB, free: 115.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/7.144, allocations: 203.9 kB / 2.958 GB, free: 115.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003423/7.148, allocations: 2.13 MB / 2.961 GB, free: 113.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/7.148, allocations: 7.938 kB / 2.961 GB, free: 113.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/7.148, allocations: 75.95 kB / 2.961 GB, free: 113 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.316e-05/7.148, allocations: 52 kB / 2.961 GB, free: 113 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/7.151, allocations: 1.673 MB / 2.962 GB, free: 111.3 MB / 1.167 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.01572/7.166, allocations: 12.15 MB / 2.974 GB, free: 98.33 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004943/7.171, allocations: 1.652 MB / 2.976 GB, free: 96.68 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009247/7.172, allocations: 0.6528 MB / 2.976 GB, free: 96.02 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009558/7.173, allocations: 1.37 MB / 2.978 GB, free: 94.36 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/7.173, allocations: 47.56 kB / 2.978 GB, free: 94.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001953/7.175, allocations: 282.5 kB / 2.978 GB, free: 94.02 MB / 1.167 GB Notification: Performance of pre-optimization done (n=105): time 3.506e-06/7.175, allocations: 0 / 2.978 GB, free: 94.02 MB / 1.167 GB Notification: Performance of matching and sorting (n=111): time 0.006579/7.182, allocations: 3.334 MB / 2.981 GB, free: 90.62 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/7.182, allocations: 171.2 kB / 2.982 GB, free: 90.42 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/7.185, allocations: 1.824 MB / 2.983 GB, free: 88.58 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/7.185, allocations: 57.64 kB / 2.983 GB, free: 88.52 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007644/7.186, allocations: 1.192 MB / 2.985 GB, free: 87.31 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000275/7.186, allocations: 378.4 kB / 2.985 GB, free: 86.93 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.124e-05/7.186, allocations: 32 kB / 2.985 GB, free: 86.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001197/7.186, allocations: 357.9 kB / 2.985 GB, free: 86.55 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008459/7.187, allocations: 0.5585 MB / 2.986 GB, free: 85.99 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/7.188, allocations: 1.025 MB / 2.987 GB, free: 84.77 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009215/7.189, allocations: 0.655 MB / 2.987 GB, free: 84.12 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/7.189, allocations: 4 kB / 2.987 GB, free: 84.12 MB / 1.167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006293/7.196, allocations: 2.472 MB / 2.99 GB, free: 81.63 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007871/7.196, allocations: 3.744 MB / 2.994 GB, free: 77.54 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/7.196, allocations: 8 kB / 2.994 GB, free: 77.54 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004146/7.201, allocations: 1.12 MB / 2.995 GB, free: 76.43 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/7.202, allocations: 331.2 kB / 2.995 GB, free: 76.11 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008837/7.211, allocations: 5.286 MB / 3 GB, free: 70.68 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004013/7.215, allocations: 403.3 kB / 3 GB, free: 70.28 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000479/7.215, allocations: 79.95 kB / 3.001 GB, free: 70.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/7.215, allocations: 4 kB / 3.001 GB, free: 70.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006635/7.222, allocations: 2.093 MB / 3.003 GB, free: 68.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/7.222, allocations: 8 kB / 3.003 GB, free: 68.09 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/7.224, allocations: 0.603 MB / 3.003 GB, free: 67.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/7.226, allocations: 403 kB / 3.004 GB, free: 67.11 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009499/7.236, allocations: 6.212 MB / 3.01 GB, free: 60.64 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00376/7.24, allocations: 351.4 kB / 3.01 GB, free: 60.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004638/7.24, allocations: 75.95 kB / 3.01 GB, free: 60.22 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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 36} Notification: Performance of prepare postOptimizeDAE: time 0.0006986/7.241, allocations: 193.9 kB / 3.01 GB, free: 60.03 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008639/7.242, allocations: 233.1 kB / 3.01 GB, free: 59.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004076/7.246, allocations: 1.863 MB / 3.012 GB, free: 57.91 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/7.246, allocations: 23.94 kB / 3.012 GB, free: 57.88 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/7.246, allocations: 0 / 3.012 GB, free: 57.88 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002142/7.248, allocations: 1.705 MB / 3.014 GB, free: 56.09 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009572/7.258, allocations: 4.283 MB / 3.018 GB, free: 51.74 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/7.258, allocations: 0 / 3.018 GB, free: 51.74 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/7.259, allocations: 267.8 kB / 3.018 GB, free: 51.48 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/7.261, allocations: 0.6368 MB / 3.019 GB, free: 50.84 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/7.261, allocations: 35.97 kB / 3.019 GB, free: 50.81 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/7.263, allocations: 1.243 MB / 3.02 GB, free: 49.54 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/7.263, allocations: 4 kB / 3.02 GB, free: 49.54 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/7.267, allocations: 2.661 MB / 3.023 GB, free: 46.83 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/7.27, allocations: 0.533 MB / 3.023 GB, free: 46.27 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001239/7.271, allocations: 20 kB / 3.023 GB, free: 46.25 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005205/7.276, allocations: 311.5 kB / 3.024 GB, free: 45.95 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/7.276, allocations: 76.88 kB / 3.024 GB, free: 45.88 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/7.277, allocations: 43.97 kB / 3.024 GB, free: 45.83 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005007/7.282, allocations: 1.387 MB / 3.025 GB, free: 44.43 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/7.282, allocations: 0 / 3.025 GB, free: 44.43 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009786/7.292, allocations: 1.29 MB / 3.026 GB, free: 43.14 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 78 * 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 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.003257/7.295, allocations: 1.138 MB / 3.028 GB, free: 42.07 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00806/7.303, allocations: 2.974 MB / 3.03 GB, free: 39.05 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/7.303, allocations: 0.75 kB / 3.03 GB, free: 39.05 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/7.305, allocations: 0.7161 MB / 3.031 GB, free: 38.34 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008908/7.314, allocations: 1.11 MB / 3.032 GB, free: 37.29 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/7.331, allocations: 3.715 MB / 3.036 GB, free: 33.54 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002486/7.334, allocations: 1.688 MB / 3.038 GB, free: 31.82 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006427/7.34, allocations: 0.5978 MB / 3.038 GB, free: 31.27 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/7.341, allocations: 135.4 kB / 3.038 GB, free: 31.14 MB / 1.167 GB Notification: Performance of SimCode: time 1.382e-06/7.341, allocations: 4 kB / 3.038 GB, free: 31.13 MB / 1.167 GB Notification: Performance of Templates: time 1.016/8.357, allocations: 67.26 MB / 3.104 GB, free: 165.5 MB / 1.182 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