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.071/2.071, 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.001059/0.001059, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.374/1.374, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.0009284/0.0009286, allocations: 95.72 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.151e-05/1.153e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2231, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9658/1.189, allocations: 444.9 MB / 1.64 GB, free: 10.12 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/1.189, allocations: 89.38 kB / 1.64 GB, free: 10.08 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.978/5.167, allocations: 1.299 GB / 2.94 GB, free: 113.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.462e-06/5.167, allocations: 0 / 2.94 GB, free: 113.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004217/5.168, allocations: 83.44 kB / 2.94 GB, free: 113.4 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.006678/5.174, allocations: 2.739 MB / 2.942 GB, free: 110.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/5.174, allocations: 8.031 kB / 2.942 GB, free: 110.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005237/5.18, allocations: 1.006 MB / 2.943 GB, free: 109.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007113/5.187, allocations: 2.929 MB / 2.946 GB, free: 106.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.905e-05/5.187, allocations: 56 kB / 2.946 GB, free: 106.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005972/5.187, allocations: 120 kB / 2.946 GB, free: 106.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003396/5.191, allocations: 1.582 MB / 2.948 GB, free: 104.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00313/5.194, allocations: 1.872 MB / 2.95 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/5.194, allocations: 7.938 kB / 2.95 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/5.194, allocations: 4 kB / 2.95 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/5.194, allocations: 48 kB / 2.95 GB, free: 102.9 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.01326/5.208, allocations: 11.8 MB / 2.961 GB, free: 90.36 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003033/5.211, allocations: 1.399 MB / 2.963 GB, free: 88.95 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000866/5.211, allocations: 0.6653 MB / 2.963 GB, free: 88.29 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008813/5.212, allocations: 1.367 MB / 2.965 GB, free: 86.63 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/5.212, allocations: 51.83 kB / 2.965 GB, free: 86.57 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001407/5.214, allocations: 237.3 kB / 2.965 GB, free: 86.34 MB / 1.151 GB Notification: Performance of pre-optimization done (n=105): time 5.4e-06/5.214, allocations: 3.328 kB / 2.965 GB, free: 86.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=111): time 0.006572/5.22, allocations: 3.459 MB / 2.968 GB, free: 82.83 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/5.22, allocations: 167.5 kB / 2.968 GB, free: 82.62 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/5.222, allocations: 1.579 MB / 2.97 GB, free: 81.02 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/5.222, allocations: 29.7 kB / 2.97 GB, free: 80.99 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005976/5.223, allocations: 1.191 MB / 2.971 GB, free: 79.78 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/5.223, allocations: 374.4 kB / 2.971 GB, free: 79.41 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/5.223, allocations: 4 kB / 2.972 GB, free: 79.41 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/5.223, allocations: 353.9 kB / 2.972 GB, free: 79.05 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006804/5.224, allocations: 0.5411 MB / 2.972 GB, free: 78.52 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008543/5.225, allocations: 0.9888 MB / 2.973 GB, free: 77.34 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/5.226, allocations: 0.7229 MB / 2.974 GB, free: 76.61 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/5.226, allocations: 4 kB / 2.974 GB, free: 76.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005899/5.232, allocations: 2.379 MB / 2.976 GB, free: 74.21 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006083/5.233, allocations: 3.709 MB / 2.98 GB, free: 70.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/5.233, allocations: 8 kB / 2.98 GB, free: 70.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00286/5.236, allocations: 0.854 MB / 2.981 GB, free: 69.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/5.237, allocations: 367.5 kB / 2.981 GB, free: 68.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007554/5.244, allocations: 5.293 MB / 2.986 GB, free: 63.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/5.248, allocations: 371.3 kB / 2.987 GB, free: 63.09 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/5.248, allocations: 75.95 kB / 2.987 GB, free: 63.02 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/5.248, allocations: 4 kB / 2.987 GB, free: 63.02 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005832/5.254, allocations: 2.012 MB / 2.989 GB, free: 60.99 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/5.254, allocations: 8 kB / 2.989 GB, free: 60.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/5.256, allocations: 0.5752 MB / 2.989 GB, free: 60.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/5.258, allocations: 399.4 kB / 2.99 GB, free: 60.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00887/5.266, allocations: 6.958 MB / 2.996 GB, free: 52.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/5.27, allocations: 315.5 kB / 2.997 GB, free: 52.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003057/5.27, allocations: 79.34 kB / 2.997 GB, free: 52.33 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.0005807/5.271, allocations: 136.7 kB / 2.997 GB, free: 52.19 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007845/5.272, allocations: 225.1 kB / 2.997 GB, free: 51.96 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/5.276, allocations: 1.78 MB / 2.999 GB, free: 50.17 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/5.276, allocations: 15.98 kB / 2.999 GB, free: 50.16 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/5.276, allocations: 3.938 kB / 2.999 GB, free: 50.15 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002228/5.278, allocations: 1.653 MB / 3.001 GB, free: 48.41 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006994/5.285, allocations: 3.995 MB / 3.004 GB, free: 44.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/5.285, allocations: 4 kB / 3.004 GB, free: 44.37 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/5.287, allocations: 291.7 kB / 3.005 GB, free: 44.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001267/5.288, allocations: 401.7 kB / 3.005 GB, free: 43.69 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/5.288, allocations: 26.38 kB / 3.005 GB, free: 43.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/5.289, allocations: 1.537 MB / 3.007 GB, free: 42.08 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/5.289, allocations: 4.031 kB / 3.007 GB, free: 42.08 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003672/5.293, allocations: 2.513 MB / 3.009 GB, free: 39.51 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/5.294, allocations: 0.5175 MB / 3.01 GB, free: 38.97 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006149/5.295, allocations: 0 / 3.01 GB, free: 38.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002495/5.297, allocations: 303.6 kB / 3.01 GB, free: 38.68 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/5.297, allocations: 73.19 kB / 3.01 GB, free: 38.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/5.297, allocations: 47.97 kB / 3.01 GB, free: 38.56 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002162/5.3, allocations: 1.178 MB / 3.011 GB, free: 37.37 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.91e-07/5.3, allocations: 0 / 3.011 GB, free: 37.37 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006491/5.306, allocations: 1.265 MB / 3.012 GB, free: 36.1 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.002003/5.308, allocations: 1.137 MB / 3.014 GB, free: 35.09 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004683/5.313, allocations: 2.905 MB / 3.016 GB, free: 32.15 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/5.313, allocations: 4.359 kB / 3.016 GB, free: 32.15 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009763/5.314, allocations: 0.6715 MB / 3.017 GB, free: 31.48 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005371/5.319, allocations: 1.02 MB / 3.018 GB, free: 30.52 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009993/5.329, allocations: 3.657 MB / 3.022 GB, free: 26.82 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/5.331, allocations: 1.684 MB / 3.023 GB, free: 25.11 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003628/5.334, allocations: 0.5755 MB / 3.024 GB, free: 24.58 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/5.335, allocations: 139.4 kB / 3.024 GB, free: 24.45 MB / 1.151 GB Notification: Performance of SimCode: time 4.01e-07/5.335, allocations: 1.531 kB / 3.024 GB, free: 24.45 MB / 1.151 GB Notification: Performance of Templates: time 0.08696/5.422, allocations: 56.12 MB / 3.079 GB, free: 1.066 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