Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.TSetCoo|hex.TSetHea|temCol.T|temWar.T|hex.valHea.y|hex.valCoo.y|hex.QWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.TSetCoo|hex.TSetHea|temCol.T|temWar.T|hex.valHea.y|hex.valCoo.y|hex.QWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 249.3 MB / 261.8 MB, free: 5.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 178.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008351/0.000835, allocations: 78.55 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.353e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2169, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.458/1.675, allocations: 439.3 MB / 1.321 GB, free: 300.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.676, allocations: 90.39 kB / 1.321 GB, free: 300.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.138/5.814, allocations: 1.241 GB / 2.562 GB, free: 59.55 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.675e-06/5.814, allocations: 0 / 2.562 GB, free: 59.55 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005992/5.814, allocations: 83.86 kB / 2.562 GB, free: 59.46 MB / 0.9011 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.01126/5.826, allocations: 2.733 MB / 2.565 GB, free: 56.68 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/5.826, allocations: 8.031 kB / 2.565 GB, free: 56.67 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009335/5.835, allocations: 1.003 MB / 2.566 GB, free: 55.66 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/5.847, allocations: 2.918 MB / 2.568 GB, free: 52.69 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/5.847, allocations: 147.7 kB / 2.569 GB, free: 52.54 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009205/5.848, allocations: 204 kB / 2.569 GB, free: 52.34 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006013/5.854, allocations: 2.119 MB / 2.571 GB, free: 50.14 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/5.854, allocations: 7.938 kB / 2.571 GB, free: 50.13 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/5.854, allocations: 83.98 kB / 2.571 GB, free: 50.05 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.801e-05/5.854, allocations: 48 kB / 2.571 GB, free: 50 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/5.858, allocations: 1.669 MB / 2.573 GB, free: 48.33 MB / 0.9011 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.01699/5.875, allocations: 12.12 MB / 2.584 GB, free: 35.39 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/5.878, allocations: 1.415 MB / 2.586 GB, free: 33.98 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009677/5.879, allocations: 0.6528 MB / 2.586 GB, free: 33.32 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009725/5.88, allocations: 1.366 MB / 2.588 GB, free: 31.66 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/5.88, allocations: 51.42 kB / 2.588 GB, free: 31.6 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002094/5.882, allocations: 282.5 kB / 2.588 GB, free: 31.32 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 3.747e-06/5.883, allocations: 3.938 kB / 2.588 GB, free: 31.32 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.007384/5.89, allocations: 3.312 MB / 2.591 GB, free: 27.95 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/5.89, allocations: 175.2 kB / 2.592 GB, free: 27.74 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/5.893, allocations: 1.791 MB / 2.593 GB, free: 25.93 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002667/5.893, allocations: 53.7 kB / 2.593 GB, free: 25.87 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007634/5.894, allocations: 1.192 MB / 2.594 GB, free: 24.66 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/5.894, allocations: 386.4 kB / 2.595 GB, free: 24.28 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.959e-05/5.894, allocations: 32 kB / 2.595 GB, free: 24.25 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/5.895, allocations: 361.9 kB / 2.595 GB, free: 23.89 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008947/5.895, allocations: 0.5546 MB / 2.596 GB, free: 23.33 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/5.897, allocations: 1.038 MB / 2.597 GB, free: 22.1 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000967/5.898, allocations: 0.6552 MB / 2.597 GB, free: 21.45 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/5.898, allocations: 8 kB / 2.597 GB, free: 21.44 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006758/5.904, allocations: 2.449 MB / 2.6 GB, free: 18.97 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007971/5.905, allocations: 3.747 MB / 2.603 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/5.905, allocations: 9.969 kB / 2.603 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003901/5.909, allocations: 1.087 MB / 2.605 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/5.911, allocations: 327.5 kB / 2.605 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008564/5.919, allocations: 5.262 MB / 2.61 GB, free: 8.066 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004081/5.924, allocations: 411.3 kB / 2.61 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004516/5.924, allocations: 75.95 kB / 2.61 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/5.924, allocations: 4 kB / 2.61 GB, free: 7.586 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005734/5.93, allocations: 2.101 MB / 2.613 GB, free: 5.477 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/5.93, allocations: 12 kB / 2.613 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002122/5.932, allocations: 0.5993 MB / 2.613 GB, free: 4.871 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/5.934, allocations: 391.1 kB / 2.613 GB, free: 4.492 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/5.944, allocations: 6.214 MB / 2.62 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00434/5.948, allocations: 363.3 kB / 2.62 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005646/5.949, allocations: 71.95 kB / 2.62 GB, free: 13.59 MB / 0.9167 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.0009578/5.95, allocations: 188.9 kB / 2.62 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/5.951, allocations: 233 kB / 2.62 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005252/5.956, allocations: 1.855 MB / 2.622 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.334e-05/5.956, allocations: 19.5 kB / 2.622 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/5.956, allocations: 3.172 kB / 2.622 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002862/5.959, allocations: 1.705 MB / 2.624 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/5.97, allocations: 4.232 MB / 2.628 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/5.97, allocations: 4 kB / 2.628 GB, free: 5.188 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/5.972, allocations: 255.8 kB / 2.628 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002403/5.974, allocations: 0.6133 MB / 2.629 GB, free: 4.324 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/5.974, allocations: 35.97 kB / 2.629 GB, free: 4.289 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/5.976, allocations: 1.235 MB / 2.63 GB, free: 3.027 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/5.976, allocations: 3.938 kB / 2.63 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007383/5.983, allocations: 2.887 MB / 2.633 GB, free: 88 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7003/6.684, allocations: 0.5127 MB / 2.633 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003931/6.684, allocations: 26.84 kB / 2.633 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/6.686, allocations: 310.9 kB / 2.634 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/6.687, allocations: 73.55 kB / 2.634 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/6.687, allocations: 47.86 kB / 2.634 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002644/6.69, allocations: 1.37 MB / 2.635 GB, free: 107 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.3e-07/6.69, allocations: 0 / 2.635 GB, free: 107 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005705/6.695, allocations: 1.276 MB / 2.636 GB, free: 107 MB / 0.9167 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.0025/6.698, allocations: 1.144 MB / 2.638 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006688/6.704, allocations: 2.969 MB / 2.64 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/6.704, allocations: 1.406 kB / 2.64 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/6.706, allocations: 0.7025 MB / 2.641 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007995/6.714, allocations: 1.121 MB / 2.642 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/6.725, allocations: 3.722 MB / 2.646 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/6.727, allocations: 1.682 MB / 2.648 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004042/6.731, allocations: 0.5961 MB / 2.648 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/6.731, allocations: 133.8 kB / 2.648 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of SimCode: time 2.184e-06/6.731, allocations: 2.625 kB / 2.648 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.1143/6.846, allocations: 67.45 MB / 2.714 GB, free: 102.3 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.csv","../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches