Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 249.5 MB / 257 MB, free: 6.93 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.0009705/0.0009705, allocations: 168.9 kB / 316.3 MB, free: 3.223 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.644/1.644, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0009268/0.0009269, allocations: 86.53 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.47e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2567, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.009/2.266, allocations: 393.3 MB / 1.269 GB, free: 263.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003948/2.266, allocations: 99.55 kB / 1.269 GB, free: 263.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.455/2.721, allocations: 234.5 MB / 1.498 GB, free: 97.91 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/2.721, allocations: 0 / 1.498 GB, free: 97.91 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.501e-05/2.721, allocations: 35.88 kB / 1.498 GB, free: 97.87 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001976/2.723, allocations: 1.198 MB / 1.5 GB, free: 96.63 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/2.723, allocations: 12.03 kB / 1.5 GB, free: 96.62 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004262/2.724, allocations: 138.5 kB / 1.5 GB, free: 96.48 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0148/2.739, allocations: 7.394 MB / 1.507 GB, free: 88.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/2.739, allocations: 24 kB / 1.507 GB, free: 88.95 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/2.739, allocations: 44 kB / 1.507 GB, free: 88.91 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001135/2.74, allocations: 0.6325 MB / 1.508 GB, free: 88.28 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/2.741, allocations: 0.8424 MB / 1.508 GB, free: 87.39 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/2.741, allocations: 7.938 kB / 1.508 GB, free: 87.38 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/2.741, allocations: 7.891 kB / 1.508 GB, free: 87.37 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/2.741, allocations: 20 kB / 1.509 GB, free: 87.35 MB / 0.8698 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.00443/2.746, allocations: 4.383 MB / 1.513 GB, free: 82.64 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/2.746, allocations: 372.1 kB / 1.513 GB, free: 82.27 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/2.746, allocations: 239.6 kB / 1.513 GB, free: 82.03 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003627/2.747, allocations: 437.8 kB / 1.514 GB, free: 81.51 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/2.747, allocations: 46.84 kB / 1.514 GB, free: 81.46 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=40): time 3.026e-06/2.747, allocations: 0 / 1.514 GB, free: 81.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.001193/2.748, allocations: 0.5228 MB / 1.514 GB, free: 80.93 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/2.748, allocations: 59.39 kB / 1.514 GB, free: 80.86 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008043/2.749, allocations: 0.7621 MB / 1.515 GB, free: 80.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/2.749, allocations: 29.7 kB / 1.515 GB, free: 80.05 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/2.749, allocations: 0.4989 MB / 1.516 GB, free: 79.55 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/2.749, allocations: 138 kB / 1.516 GB, free: 79.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/2.749, allocations: 0 / 1.516 GB, free: 79.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001007/2.749, allocations: 337.9 kB / 1.516 GB, free: 79.07 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/2.75, allocations: 201 kB / 1.516 GB, free: 78.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/2.75, allocations: 423.8 kB / 1.517 GB, free: 78.36 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/2.751, allocations: 313.2 kB / 1.517 GB, free: 78.06 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/2.751, allocations: 0 / 1.517 GB, free: 78.06 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001059/2.752, allocations: 0.7246 MB / 1.518 GB, free: 77.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006491/2.752, allocations: 2.178 MB / 1.52 GB, free: 74.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/2.752, allocations: 8 kB / 1.52 GB, free: 74.97 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/2.753, allocations: 56.91 kB / 1.52 GB, free: 74.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/2.753, allocations: 115.8 kB / 1.52 GB, free: 74.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004286/2.753, allocations: 0.6342 MB / 1.521 GB, free: 74.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008662/2.754, allocations: 99.36 kB / 1.521 GB, free: 74.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/2.754, allocations: 36 kB / 1.521 GB, free: 74 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/2.754, allocations: 0 / 1.521 GB, free: 74 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008827/2.755, allocations: 0.6058 MB / 1.521 GB, free: 73.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/2.755, allocations: 15.92 kB / 1.521 GB, free: 73.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/2.755, allocations: 56.83 kB / 1.521 GB, free: 73.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/2.756, allocations: 111.8 kB / 1.522 GB, free: 73.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/2.757, allocations: 1.595 MB / 1.523 GB, free: 71.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/2.758, allocations: 83.52 kB / 1.523 GB, free: 71.42 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/2.758, allocations: 31.94 kB / 1.523 GB, free: 71.39 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001964/2.758, allocations: 132.7 kB / 1.523 GB, free: 71.25 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/2.758, allocations: 86.97 kB / 1.523 GB, free: 71.16 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/2.759, allocations: 0.5985 MB / 1.524 GB, free: 70.55 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/2.759, allocations: 4 kB / 1.524 GB, free: 70.55 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/2.759, allocations: 0 / 1.524 GB, free: 70.55 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007431/2.76, allocations: 0.7813 MB / 1.525 GB, free: 69.68 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.002126/2.762, allocations: 1.532 MB / 1.526 GB, free: 68.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/2.762, allocations: 4 kB / 1.526 GB, free: 68.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/2.762, allocations: 79.88 kB / 1.526 GB, free: 67.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.167e-05/2.763, allocations: 32.84 kB / 1.526 GB, free: 67.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/2.763, allocations: 4 kB / 1.526 GB, free: 67.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003098/2.763, allocations: 0.5681 MB / 1.527 GB, free: 67.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.763, allocations: 0 / 1.527 GB, free: 67.36 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/2.764, allocations: 0.9631 MB / 1.528 GB, free: 66.34 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/2.764, allocations: 259.9 kB / 1.528 GB, free: 66.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/2.764, allocations: 3.984 kB / 1.528 GB, free: 66.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/2.765, allocations: 55.88 kB / 1.528 GB, free: 66.01 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/2.765, allocations: 35.92 kB / 1.528 GB, free: 65.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/2.765, allocations: 19.98 kB / 1.528 GB, free: 65.95 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006639/2.766, allocations: 0.5927 MB / 1.529 GB, free: 65.36 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.766, allocations: 0 / 1.529 GB, free: 65.36 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00202/2.768, allocations: 0.5688 MB / 1.529 GB, free: 64.79 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009325/2.769, allocations: 391 kB / 1.53 GB, free: 64.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00141/2.77, allocations: 0.9486 MB / 1.531 GB, free: 63.45 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/2.77, allocations: 4.75 kB / 1.531 GB, free: 63.45 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/2.77, allocations: 235.9 kB / 1.531 GB, free: 63.21 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/2.773, allocations: 0.5314 MB / 1.531 GB, free: 62.69 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/2.775, allocations: 1.598 MB / 1.533 GB, free: 61.05 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/2.776, allocations: 1.241 MB / 1.534 GB, free: 59.78 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001477/2.777, allocations: 0.6585 MB / 1.535 GB, free: 59.12 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/2.777, allocations: 59.42 kB / 1.535 GB, free: 59.06 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/2.777, allocations: 0 / 1.535 GB, free: 59.06 MB / 0.8698 GB Notification: Performance of Templates: time 0.03/2.807, allocations: 19.42 MB / 1.554 GB, free: 39.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches