Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.543/1.543, allocations: 249.5 MB / 257 MB, free: 6.91 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.00113/0.00113, allocations: 184.8 kB / 316.3 MB, free: 3.242 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.948/1.948, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.001057/0.001057, allocations: 82.55 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.643e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2879, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.016/2.304, allocations: 0.595 GB / 1.48 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/2.304, allocations: 87.52 kB / 1.48 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9245/3.228, allocations: 160.8 MB / 1.637 GB, free: 270.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/3.228, allocations: 0 / 1.637 GB, free: 270.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.578e-05/3.229, allocations: 15.81 kB / 1.637 GB, free: 270.4 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001628/3.23, allocations: 0.9431 MB / 1.638 GB, free: 269.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/3.23, allocations: 18.59 kB / 1.638 GB, free: 269.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/3.232, allocations: 266.9 kB / 1.639 GB, free: 269.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/3.234, allocations: 0.687 MB / 1.639 GB, free: 269.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/3.234, allocations: 15.5 kB / 1.639 GB, free: 269.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/3.234, allocations: 23.16 kB / 1.639 GB, free: 269.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005019/3.234, allocations: 288.9 kB / 1.64 GB, free: 269.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/3.235, allocations: 448.6 kB / 1.64 GB, free: 269.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/3.235, allocations: 0 / 1.64 GB, free: 269.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/3.235, allocations: 1.031 kB / 1.64 GB, free: 269.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/3.235, allocations: 11.53 kB / 1.64 GB, free: 269.1 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.002299/3.237, allocations: 2.703 MB / 1.643 GB, free: 267 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/3.238, allocations: 264.4 kB / 1.643 GB, free: 266.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/3.238, allocations: 136 kB / 1.643 GB, free: 266.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004255/3.238, allocations: 0.663 MB / 1.644 GB, free: 266 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/3.238, allocations: 41.58 kB / 1.644 GB, free: 266 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/3.238, allocations: 0 / 1.644 GB, free: 266 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.004525/3.243, allocations: 1.639 MB / 1.645 GB, free: 265.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/3.243, allocations: 83.64 kB / 1.645 GB, free: 265.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/3.243, allocations: 399.5 kB / 1.646 GB, free: 264.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/3.243, allocations: 28.64 kB / 1.646 GB, free: 264.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/3.244, allocations: 316.4 kB / 1.646 GB, free: 264.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/3.244, allocations: 139.6 kB / 1.646 GB, free: 264.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/3.244, allocations: 3.938 kB / 1.646 GB, free: 264.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001047/3.244, allocations: 367 kB / 1.647 GB, free: 264.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/3.244, allocations: 142.7 kB / 1.647 GB, free: 264.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/3.244, allocations: 265.5 kB / 1.647 GB, free: 263.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/3.245, allocations: 197.7 kB / 1.647 GB, free: 263.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/3.245, allocations: 0 / 1.647 GB, free: 263.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001375/3.246, allocations: 0.666 MB / 1.648 GB, free: 263.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003314/3.246, allocations: 1.225 MB / 1.649 GB, free: 262.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/3.246, allocations: 6.75 kB / 1.649 GB, free: 262.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008248/3.247, allocations: 253.5 kB / 1.649 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/3.248, allocations: 71.52 kB / 1.649 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004403/3.252, allocations: 3.99 MB / 1.653 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/3.253, allocations: 79.41 kB / 1.653 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/3.253, allocations: 22.77 kB / 1.653 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/3.253, allocations: 4.656 kB / 1.653 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001434/3.255, allocations: 0.5812 MB / 1.654 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/3.255, allocations: 3.906 kB / 1.654 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000769/3.256, allocations: 271.4 kB / 1.654 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/3.256, allocations: 62.42 kB / 1.654 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/3.26, allocations: 3.997 MB / 1.658 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/3.261, allocations: 82.83 kB / 1.658 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/3.261, allocations: 14.69 kB / 1.658 GB, free: 255.3 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002502/3.261, allocations: 137.3 kB / 1.658 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/3.262, allocations: 58.91 kB / 1.658 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/3.263, allocations: 0.6043 MB / 1.659 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/3.263, allocations: 10.22 kB / 1.659 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/3.263, allocations: 0 / 1.659 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/3.264, allocations: 0.6855 MB / 1.66 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/3.267, allocations: 1.575 MB / 1.661 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/3.267, allocations: 0 / 1.661 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/3.267, allocations: 58.98 kB / 1.661 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007763/3.268, allocations: 236.3 kB / 1.661 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/3.268, allocations: 10.83 kB / 1.661 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003802/3.272, allocations: 3.725 MB / 1.665 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/3.272, allocations: 0 / 1.665 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/3.274, allocations: 0.8764 MB / 1.666 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/3.274, allocations: 190.2 kB / 1.666 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.562e-05/3.274, allocations: 3.312 kB / 1.666 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009058/3.275, allocations: 62.27 kB / 1.666 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/3.275, allocations: 32.02 kB / 1.666 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/3.275, allocations: 19.77 kB / 1.666 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00038/3.275, allocations: 312.7 kB / 1.667 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/3.275, allocations: 0 / 1.667 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001934/3.277, allocations: 445.8 kB / 1.667 GB, free: 249.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[2].h_outflow,vol1.ports[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006635/3.278, allocations: 311.7 kB / 1.667 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002373/3.28, allocations: 1.251 MB / 1.669 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/3.28, allocations: 0 / 1.669 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/3.281, allocations: 0.5115 MB / 1.669 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/3.283, allocations: 323.2 kB / 1.669 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/3.285, allocations: 0.8753 MB / 1.67 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/3.285, allocations: 0.9422 MB / 1.671 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007857/3.286, allocations: 164.2 kB / 1.671 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.956e-05/3.286, allocations: 39.23 kB / 1.671 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/3.286, allocations: 0 / 1.671 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.02508/3.311, allocations: 16.84 MB / 1.688 GB, free: 245 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches