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.403/1.403, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001548/0.001547, allocations: 183.2 kB / 326.5 MB, free: 2.266 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.927/1.927, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.001004/0.001004, allocations: 92.77 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003504, allocations: 8.812 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.252, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.29, allocations: 393.1 MB / 1.284 GB, free: 6.68 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003702/1.291, allocations: 101.1 kB / 1.284 GB, free: 6.625 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.055/2.345, allocations: 236.6 MB / 1.515 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.573e-06/2.345, allocations: 4 kB / 1.515 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001985/2.346, allocations: 35.88 kB / 1.515 GB, free: 242.2 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004/2.35, allocations: 1.411 MB / 1.517 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/2.35, allocations: 12.03 kB / 1.517 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007914/2.351, allocations: 134.5 kB / 1.517 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01505/2.366, allocations: 7.471 MB / 1.524 GB, free: 233 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/2.366, allocations: 58 kB / 1.524 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/2.366, allocations: 79.98 kB / 1.524 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/2.368, allocations: 0.9551 MB / 1.525 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/2.368, allocations: 3.938 kB / 1.525 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/2.368, allocations: 32 kB / 1.525 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/2.368, allocations: 35.94 kB / 1.525 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/2.369, allocations: 0.6908 MB / 1.526 GB, free: 231.1 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005509/2.375, allocations: 4.534 MB / 1.53 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/2.375, allocations: 376.7 kB / 1.531 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/2.376, allocations: 437.8 kB / 1.531 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/2.376, allocations: 42.83 kB / 1.531 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=40): time 4.498e-06/2.376, allocations: 4 kB / 1.531 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.001672/2.377, allocations: 0.8341 MB / 1.532 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/2.377, allocations: 59.41 kB / 1.532 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/2.379, allocations: 0.8324 MB / 1.533 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/2.379, allocations: 33.7 kB / 1.533 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/2.379, allocations: 0.495 MB / 1.533 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/2.379, allocations: 149.8 kB / 1.533 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/2.379, allocations: 12 kB / 1.533 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/2.379, allocations: 329.9 kB / 1.534 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/2.379, allocations: 217 kB / 1.534 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/2.38, allocations: 444.4 kB / 1.534 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/2.38, allocations: 313.3 kB / 1.535 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/2.38, allocations: 4 kB / 1.535 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001125/2.381, allocations: 0.7712 MB / 1.535 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005071/2.382, allocations: 2.183 MB / 1.537 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/2.382, allocations: 8 kB / 1.537 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/2.382, allocations: 68.75 kB / 1.538 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/2.382, allocations: 111.8 kB / 1.538 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004018/2.383, allocations: 0.6303 MB / 1.538 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009325/2.384, allocations: 107.4 kB / 1.538 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/2.384, allocations: 31.98 kB / 1.538 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/2.384, allocations: 8 kB / 1.538 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008658/2.385, allocations: 0.6751 MB / 1.539 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/2.385, allocations: 8 kB / 1.539 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/2.385, allocations: 64.75 kB / 1.539 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/2.385, allocations: 107.8 kB / 1.539 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/2.387, allocations: 1.674 MB / 1.541 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007618/2.387, allocations: 99.47 kB / 1.541 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/2.387, allocations: 39.97 kB / 1.541 GB, free: 214.5 MB / 0.8855 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 () * Number of clocked 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.0007439/2.388, allocations: 480.6 kB / 1.541 GB, free: 214 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/2.388, allocations: 90.86 kB / 1.542 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/2.39, allocations: 0.6335 MB / 1.542 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/2.39, allocations: 4 kB / 1.542 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/2.39, allocations: 0 / 1.542 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007211/2.39, allocations: 0.8281 MB / 1.543 GB, free: 212.3 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00255/2.393, allocations: 1.664 MB / 1.545 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/2.393, allocations: 4 kB / 1.545 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/2.393, allocations: 79.89 kB / 1.545 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/2.393, allocations: 40.77 kB / 1.545 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/2.393, allocations: 16.12 kB / 1.545 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003124/2.394, allocations: 0.5641 MB / 1.545 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/2.394, allocations: 0 / 1.545 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/2.395, allocations: 0.9872 MB / 1.546 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005017/2.395, allocations: 252 kB / 1.547 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/2.395, allocations: 19.98 kB / 1.547 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/2.396, allocations: 72.06 kB / 1.547 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/2.396, allocations: 23.91 kB / 1.547 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/2.396, allocations: 23.98 kB / 1.547 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007384/2.397, allocations: 0.6551 MB / 1.547 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.91e-07/2.397, allocations: 0 / 1.547 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002121/2.399, allocations: 0.5923 MB / 1.548 GB, free: 207.2 MB / 0.8855 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 () * Number of clocked 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.000886/2.4, allocations: 411.8 kB / 1.548 GB, free: 206.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00141/2.401, allocations: 0.9862 MB / 1.549 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/2.401, allocations: 0.5625 kB / 1.549 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/2.402, allocations: 243.7 kB / 1.549 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/2.404, allocations: 0.5516 MB / 1.55 GB, free: 205 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/2.406, allocations: 2.403 MB / 1.552 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/2.407, allocations: 1.243 MB / 1.554 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001012/2.408, allocations: 434.9 kB / 1.554 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/2.408, allocations: 79.42 kB / 1.554 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of SimCode: time 8.32e-07/2.408, allocations: 0 / 1.554 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.029/2.437, allocations: 20.15 MB / 1.574 GB, free: 180.8 MB / 0.8855 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