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.034/2.034, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001018/0.001018, allocations: 176.8 kB / 487.4 MB, free: 5.043 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.386/1.386, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 94.08 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.408e-05/1.411e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2663, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.427, allocations: 444.6 MB / 1.64 GB, free: 10.43 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/1.427, allocations: 86.95 kB / 1.64 GB, free: 10.39 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.029/5.456, allocations: 1.299 GB / 2.939 GB, free: 114.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.226e-06/5.456, allocations: 3.984 kB / 2.939 GB, free: 114 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004381/5.457, allocations: 82.58 kB / 2.939 GB, free: 114 MB / 1.151 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.006643/5.463, allocations: 2.746 MB / 2.942 GB, free: 111.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/5.464, allocations: 8.031 kB / 2.942 GB, free: 111.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005156/5.469, allocations: 1.007 MB / 2.943 GB, free: 110.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006877/5.476, allocations: 2.924 MB / 2.946 GB, free: 107.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/5.476, allocations: 60 kB / 2.946 GB, free: 107.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006642/5.476, allocations: 116 kB / 2.946 GB, free: 107.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003541/5.48, allocations: 1.57 MB / 2.947 GB, free: 105.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003772/5.484, allocations: 1.88 MB / 2.949 GB, free: 103.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.281e-05/5.484, allocations: 3.938 kB / 2.949 GB, free: 103.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/5.484, allocations: 4 kB / 2.949 GB, free: 103.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/5.484, allocations: 48 kB / 2.949 GB, free: 103.5 MB / 1.151 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.01488/5.499, allocations: 11.8 MB / 2.961 GB, free: 90.99 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0048/5.504, allocations: 1.631 MB / 2.962 GB, free: 89.34 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009895/5.505, allocations: 0.6645 MB / 2.963 GB, free: 88.68 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008896/5.506, allocations: 1.371 MB / 2.964 GB, free: 87.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/5.506, allocations: 51.86 kB / 2.964 GB, free: 86.96 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001716/5.508, allocations: 234.8 kB / 2.965 GB, free: 86.73 MB / 1.151 GB Notification: Performance of pre-optimization done (n=105): time 5.911e-06/5.508, allocations: 0 / 2.965 GB, free: 86.73 MB / 1.151 GB Notification: Performance of matching and sorting (n=111): time 0.008796/5.516, allocations: 3.451 MB / 2.968 GB, free: 83.23 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/5.516, allocations: 171.5 kB / 2.968 GB, free: 83.02 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/5.519, allocations: 1.583 MB / 2.97 GB, free: 81.41 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002174/5.519, allocations: 25.7 kB / 2.97 GB, free: 81.38 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008165/5.52, allocations: 1.189 MB / 2.971 GB, free: 80.18 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/5.521, allocations: 374.5 kB / 2.971 GB, free: 79.81 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/5.521, allocations: 0 / 2.971 GB, free: 79.81 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/5.521, allocations: 357.9 kB / 2.971 GB, free: 79.45 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007803/5.522, allocations: 0.5429 MB / 2.972 GB, free: 78.91 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009539/5.523, allocations: 0.985 MB / 2.973 GB, free: 77.73 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/5.524, allocations: 0.719 MB / 2.974 GB, free: 77.02 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/5.524, allocations: 0 / 2.974 GB, free: 77.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006623/5.531, allocations: 2.387 MB / 2.976 GB, free: 74.61 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006304/5.531, allocations: 3.71 MB / 2.98 GB, free: 70.53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/5.531, allocations: 8 kB / 2.98 GB, free: 70.52 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00296/5.534, allocations: 0.8547 MB / 2.98 GB, free: 69.67 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/5.536, allocations: 363.5 kB / 2.981 GB, free: 69.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007935/5.544, allocations: 5.299 MB / 2.986 GB, free: 63.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/5.547, allocations: 367.4 kB / 2.986 GB, free: 63.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/5.548, allocations: 75.95 kB / 2.986 GB, free: 63.42 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/5.548, allocations: 4 kB / 2.986 GB, free: 63.42 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006159/5.554, allocations: 2.019 MB / 2.988 GB, free: 61.39 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/5.554, allocations: 10.19 kB / 2.988 GB, free: 61.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/5.556, allocations: 0.5752 MB / 2.989 GB, free: 60.81 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/5.557, allocations: 395.3 kB / 2.989 GB, free: 60.42 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008744/5.566, allocations: 6.96 MB / 2.996 GB, free: 53.11 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002989/5.569, allocations: 315.6 kB / 2.996 GB, free: 52.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003409/5.57, allocations: 75.95 kB / 2.997 GB, free: 52.72 MB / 1.151 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 (140): * Single equations (assignments): 137 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005297/5.57, allocations: 132.6 kB / 2.997 GB, free: 52.59 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005794/5.571, allocations: 221.2 kB / 2.997 GB, free: 52.37 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/5.574, allocations: 1.788 MB / 2.999 GB, free: 50.57 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/5.574, allocations: 23.98 kB / 2.999 GB, free: 50.55 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/5.574, allocations: 0 / 2.999 GB, free: 50.55 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002153/5.577, allocations: 1.653 MB / 3 GB, free: 48.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006649/5.583, allocations: 4.001 MB / 3.004 GB, free: 44.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/5.583, allocations: 3.984 kB / 3.004 GB, free: 44.76 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/5.584, allocations: 291.8 kB / 3.004 GB, free: 44.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/5.586, allocations: 406.9 kB / 3.005 GB, free: 44.08 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.114e-05/5.586, allocations: 19.97 kB / 3.005 GB, free: 44.06 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009755/5.587, allocations: 1.543 MB / 3.006 GB, free: 42.47 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/5.587, allocations: 4.031 kB / 3.006 GB, free: 42.46 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/5.59, allocations: 2.505 MB / 3.009 GB, free: 39.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/5.592, allocations: 0.5098 MB / 3.009 GB, free: 39.37 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006265/5.592, allocations: 7.938 kB / 3.009 GB, free: 39.36 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/5.595, allocations: 299.5 kB / 3.01 GB, free: 39.07 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/5.595, allocations: 73.2 kB / 3.01 GB, free: 39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/5.595, allocations: 51.95 kB / 3.01 GB, free: 38.95 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001959/5.597, allocations: 1.178 MB / 3.011 GB, free: 37.76 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/5.597, allocations: 2.078 kB / 3.011 GB, free: 37.76 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00618/5.603, allocations: 1.269 MB / 3.012 GB, free: 36.49 MB / 1.151 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 (101): * Single equations (assignments): 92 * 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: 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 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001892/5.605, allocations: 1.145 MB / 3.013 GB, free: 35.48 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004545/5.609, allocations: 2.892 MB / 3.016 GB, free: 32.55 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/5.61, allocations: 0 / 3.016 GB, free: 32.55 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/5.611, allocations: 0.6763 MB / 3.017 GB, free: 31.88 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005179/5.616, allocations: 1.016 MB / 3.018 GB, free: 30.91 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009453/5.625, allocations: 3.659 MB / 3.021 GB, free: 27.22 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/5.626, allocations: 1.682 MB / 3.023 GB, free: 25.51 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003199/5.63, allocations: 0.5712 MB / 3.023 GB, free: 24.98 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/5.63, allocations: 147.4 kB / 3.024 GB, free: 24.84 MB / 1.151 GB Notification: Performance of SimCode: time 6.81e-07/5.63, allocations: 0 / 3.024 GB, free: 24.84 MB / 1.151 GB Notification: Performance of Templates: time 0.07763/5.708, allocations: 56.12 MB / 3.078 GB, free: 1.426 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