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.217/2.217, allocations: 387.1 MB / 399.7 MB, free: 9.414 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.001096/0.001096, allocations: 176.9 kB / 492.3 MB, free: 0.5898 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.711/1.711, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0009771/0.0009772, allocations: 95.45 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.029e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3864, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.518/1.904, allocations: 445.5 MB / 1.647 GB, free: 1.355 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/1.905, allocations: 95.88 kB / 1.648 GB, free: 1.305 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.226/7.131, allocations: 1.305 GB / 2.952 GB, free: 121.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.244e-06/7.131, allocations: 0 / 2.952 GB, free: 121.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003698/7.132, allocations: 79.91 kB / 2.952 GB, free: 121.6 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.00799/7.14, allocations: 2.747 MB / 2.955 GB, free: 118.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/7.14, allocations: 11.64 kB / 2.955 GB, free: 118.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00566/7.145, allocations: 1.003 MB / 2.956 GB, free: 117.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007359/7.153, allocations: 2.933 MB / 2.959 GB, free: 114.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/7.153, allocations: 147.6 kB / 2.959 GB, free: 114.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004436/7.153, allocations: 199.9 kB / 2.959 GB, free: 114.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0038/7.157, allocations: 2.138 MB / 2.961 GB, free: 112.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/7.157, allocations: 3.984 kB / 2.961 GB, free: 112.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/7.157, allocations: 83.95 kB / 2.961 GB, free: 112.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.093e-05/7.157, allocations: 48 kB / 2.961 GB, free: 112.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/7.16, allocations: 1.673 MB / 2.963 GB, free: 110.4 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.01755/7.178, allocations: 12.15 MB / 2.975 GB, free: 97.45 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003486/7.181, allocations: 1.413 MB / 2.976 GB, free: 96.03 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/7.182, allocations: 0.6644 MB / 2.977 GB, free: 95.36 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/7.183, allocations: 1.37 MB / 2.978 GB, free: 93.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/7.183, allocations: 47.55 kB / 2.978 GB, free: 93.64 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002283/7.186, allocations: 278.5 kB / 2.978 GB, free: 93.37 MB / 1.167 GB Notification: Performance of pre-optimization done (n=105): time 4.679e-06/7.186, allocations: 3.5 kB / 2.978 GB, free: 93.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=111): time 0.007473/7.193, allocations: 3.343 MB / 2.982 GB, free: 89.96 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/7.193, allocations: 171.2 kB / 2.982 GB, free: 89.76 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002957/7.196, allocations: 1.82 MB / 2.984 GB, free: 87.92 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002561/7.197, allocations: 49.7 kB / 2.984 GB, free: 87.86 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000776/7.197, allocations: 1.196 MB / 2.985 GB, free: 86.65 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/7.198, allocations: 382.4 kB / 2.985 GB, free: 86.27 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/7.198, allocations: 24 kB / 2.985 GB, free: 86.25 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000115/7.198, allocations: 366.1 kB / 2.986 GB, free: 85.89 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009038/7.199, allocations: 0.5585 MB / 2.986 GB, free: 85.33 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/7.2, allocations: 1.029 MB / 2.987 GB, free: 84.11 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009624/7.201, allocations: 0.6514 MB / 2.988 GB, free: 83.46 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/7.201, allocations: 0 / 2.988 GB, free: 83.46 MB / 1.167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006735/7.208, allocations: 2.472 MB / 2.99 GB, free: 80.98 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001023/7.209, allocations: 3.747 MB / 2.994 GB, free: 76.89 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/7.209, allocations: 8 kB / 2.994 GB, free: 76.88 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004217/7.213, allocations: 1.119 MB / 2.995 GB, free: 75.77 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/7.215, allocations: 331.5 kB / 2.995 GB, free: 75.45 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009058/7.224, allocations: 5.28 MB / 3 GB, free: 70.03 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/7.228, allocations: 407.3 kB / 3.001 GB, free: 69.63 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003856/7.228, allocations: 75.95 kB / 3.001 GB, free: 69.55 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/7.228, allocations: 4 kB / 3.001 GB, free: 69.55 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006053/7.234, allocations: 2.105 MB / 3.003 GB, free: 67.44 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/7.235, allocations: 8.781 kB / 3.003 GB, free: 67.43 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/7.237, allocations: 0.6073 MB / 3.004 GB, free: 66.83 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/7.238, allocations: 383.5 kB / 3.004 GB, free: 66.46 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009446/7.248, allocations: 6.216 MB / 3.01 GB, free: 59.99 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003866/7.252, allocations: 355.4 kB / 3.01 GB, free: 59.64 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003428/7.252, allocations: 75.95 kB / 3.01 GB, free: 59.57 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.0005242/7.253, allocations: 188.6 kB / 3.011 GB, free: 59.38 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005896/7.253, allocations: 235.4 kB / 3.011 GB, free: 59.15 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/7.257, allocations: 1.866 MB / 3.013 GB, free: 57.27 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/7.257, allocations: 15.98 kB / 3.013 GB, free: 57.25 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/7.257, allocations: 3.953 kB / 3.013 GB, free: 57.25 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001993/7.259, allocations: 1.705 MB / 3.014 GB, free: 55.45 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008019/7.267, allocations: 4.283 MB / 3.018 GB, free: 51.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/7.267, allocations: 3.984 kB / 3.018 GB, free: 51.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/7.268, allocations: 259.6 kB / 3.019 GB, free: 50.85 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002366/7.271, allocations: 0.6445 MB / 3.019 GB, free: 50.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/7.271, allocations: 35.97 kB / 3.019 GB, free: 50.17 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/7.272, allocations: 1.25 MB / 3.021 GB, free: 48.89 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/7.272, allocations: 0 / 3.021 GB, free: 48.89 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005823/7.278, allocations: 2.903 MB / 3.023 GB, free: 45.94 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/7.28, allocations: 0.5291 MB / 3.024 GB, free: 45.39 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004776/7.28, allocations: 24 kB / 3.024 GB, free: 45.36 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/7.283, allocations: 311.6 kB / 3.024 GB, free: 45.06 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/7.283, allocations: 72.84 kB / 3.024 GB, free: 44.99 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/7.283, allocations: 51.95 kB / 3.024 GB, free: 44.94 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002297/7.285, allocations: 1.391 MB / 3.026 GB, free: 43.53 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.984e-06/7.285, allocations: 0 / 3.026 GB, free: 43.53 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005364/7.291, allocations: 1.279 MB / 3.027 GB, free: 42.25 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.002035/7.293, allocations: 1.145 MB / 3.028 GB, free: 41.17 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004947/7.298, allocations: 2.986 MB / 3.031 GB, free: 38.15 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/7.298, allocations: 4.125 kB / 3.031 GB, free: 38.15 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/7.299, allocations: 0.6982 MB / 3.032 GB, free: 37.45 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006138/7.305, allocations: 1.108 MB / 3.033 GB, free: 36.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/7.316, allocations: 3.725 MB / 3.036 GB, free: 32.64 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009872/7.317, allocations: 1.684 MB / 3.038 GB, free: 30.92 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003384/7.32, allocations: 0.6001 MB / 3.039 GB, free: 30.36 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/7.32, allocations: 139.3 kB / 3.039 GB, free: 30.22 MB / 1.167 GB Notification: Performance of SimCode: time 1.062e-06/7.32, allocations: 0 / 3.039 GB, free: 30.22 MB / 1.167 GB Notification: Performance of Templates: time 0.8848/8.205, allocations: 67.26 MB / 3.105 GB, free: 166 MB / 1.182 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