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_Heating.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_Heating,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_Heating") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,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_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 249.5 MB / 257 MB, free: 6.996 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.001144/0.001145, allocations: 179.8 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009386/0.0009385, allocations: 97.22 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.884e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1838, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.438/1.622, allocations: 439.2 MB / 1.314 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/1.622, allocations: 94.28 kB / 1.314 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.979/5.601, allocations: 1.235 GB / 2.55 GB, free: 32.79 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.753e-06/5.601, allocations: 0 / 2.55 GB, free: 32.79 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002773/5.601, allocations: 77.25 kB / 2.55 GB, free: 32.71 MB / 0.8855 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.005423/5.607, allocations: 2.733 MB / 2.552 GB, free: 29.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/5.607, allocations: 12.03 kB / 2.552 GB, free: 29.94 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005023/5.612, allocations: 1.009 MB / 2.553 GB, free: 28.93 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005611/5.618, allocations: 2.908 MB / 2.556 GB, free: 26.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/5.618, allocations: 63.94 kB / 2.556 GB, free: 25.96 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/5.618, allocations: 116 kB / 2.556 GB, free: 25.84 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002629/5.621, allocations: 1.573 MB / 2.558 GB, free: 24.27 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/5.623, allocations: 1.864 MB / 2.56 GB, free: 22.32 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/5.623, allocations: 0 / 2.56 GB, free: 22.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/5.624, allocations: 8 kB / 2.56 GB, free: 22.31 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/5.624, allocations: 44 kB / 2.56 GB, free: 22.27 MB / 0.8855 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.01379/5.637, allocations: 11.77 MB / 2.571 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004786/5.642, allocations: 1.619 MB / 2.573 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009403/5.643, allocations: 0.6533 MB / 2.573 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/5.644, allocations: 1.365 MB / 2.575 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/5.644, allocations: 43.88 kB / 2.575 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002065/5.646, allocations: 242.2 kB / 2.575 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=105): time 5.781e-06/5.646, allocations: 0 / 2.575 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111): time 0.009078/5.655, allocations: 3.439 MB / 2.578 GB, free: 2.07 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/5.656, allocations: 171.5 kB / 2.579 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/5.659, allocations: 1.555 MB / 2.58 GB, free: 296 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/5.659, allocations: 33.7 kB / 2.58 GB, free: 256 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/5.66, allocations: 1.196 MB / 2.581 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/5.661, allocations: 370.4 kB / 2.582 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/5.661, allocations: 0 / 2.582 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001629/5.661, allocations: 361.9 kB / 2.582 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009527/5.662, allocations: 0.5312 MB / 2.582 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/5.663, allocations: 1.002 MB / 2.583 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/5.665, allocations: 0.7229 MB / 2.584 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/5.665, allocations: 4 kB / 2.584 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007681/5.673, allocations: 2.379 MB / 2.587 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001496/5.674, allocations: 3.706 MB / 2.59 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/5.674, allocations: 11.98 kB / 2.59 GB, free: 5.363 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003131/5.677, allocations: 0.8405 MB / 2.591 GB, free: 4.516 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/5.679, allocations: 367.4 kB / 2.591 GB, free: 4.156 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009717/5.689, allocations: 5.289 MB / 2.596 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003982/5.693, allocations: 371.4 kB / 2.597 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004634/5.693, allocations: 79.95 kB / 2.597 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/5.693, allocations: 4 kB / 2.597 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007367/5.701, allocations: 2.008 MB / 2.599 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/5.701, allocations: 8 kB / 2.599 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/5.703, allocations: 0.5701 MB / 2.599 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/5.705, allocations: 403.3 kB / 2.6 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/5.716, allocations: 6.956 MB / 2.607 GB, free: 3.953 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003685/5.72, allocations: 315.6 kB / 2.607 GB, free: 3.645 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004966/5.72, allocations: 75.95 kB / 2.607 GB, free: 3.57 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 (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.000751/5.721, allocations: 141.5 kB / 2.607 GB, free: 3.426 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009582/5.722, allocations: 217.3 kB / 2.607 GB, free: 3.211 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00528/5.728, allocations: 1.779 MB / 2.609 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.311e-05/5.728, allocations: 12 kB / 2.609 GB, free: 1.402 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/5.728, allocations: 4 kB / 2.609 GB, free: 1.398 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6549/6.383, allocations: 1.652 MB / 2.611 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009282/6.392, allocations: 3.955 MB / 2.615 GB, free: 105 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/6.392, allocations: 1.312 kB / 2.615 GB, free: 105 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/6.393, allocations: 297.1 kB / 2.615 GB, free: 105 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/6.395, allocations: 384.8 kB / 2.615 GB, free: 105 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/6.395, allocations: 20.88 kB / 2.615 GB, free: 105 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/6.396, allocations: 1.537 MB / 2.617 GB, free: 104 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/6.396, allocations: 1.375 kB / 2.617 GB, free: 104 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004835/6.401, allocations: 2.491 MB / 2.619 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/6.403, allocations: 0.5002 MB / 2.62 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/6.403, allocations: 4.422 kB / 2.62 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/6.405, allocations: 302.7 kB / 2.62 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/6.406, allocations: 80.27 kB / 2.62 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/6.406, allocations: 46.88 kB / 2.62 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002291/6.408, allocations: 1.162 MB / 2.621 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.2e-07/6.408, allocations: 0 / 2.621 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007028/6.415, allocations: 1.26 MB / 2.622 GB, free: 103.4 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 (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.002198/6.417, allocations: 1.148 MB / 2.624 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005814/6.423, allocations: 2.895 MB / 2.626 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/6.423, allocations: 2.25 kB / 2.626 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/6.424, allocations: 0.673 MB / 2.627 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006442/6.431, allocations: 1.04 MB / 2.628 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/6.444, allocations: 3.635 MB / 2.632 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/6.447, allocations: 1.678 MB / 2.633 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00431/6.451, allocations: 0.5746 MB / 2.634 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/6.451, allocations: 141.1 kB / 2.634 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of SimCode: time 9.92e-07/6.451, allocations: 1.219 kB / 2.634 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.09421/6.546, allocations: 56.34 MB / 2.689 GB, free: 98.94 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.csv","../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches