Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.004/2.004, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 188.6 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008674/0.0008674, allocations: 91.84 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.748e-05/1.75e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2342, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.719/1.953, allocations: 0.6118 GB / 1.818 GB, free: 352.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/1.954, allocations: 82.88 kB / 1.818 GB, free: 352.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2981/2.252, allocations: 169.1 MB / 1.983 GB, free: 211.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.633e-06/2.252, allocations: 0 / 1.983 GB, free: 211.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.313e-05/2.252, allocations: 23.98 kB / 1.983 GB, free: 211.5 MB / 1.151 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.001528/2.253, allocations: 0.9477 MB / 1.984 GB, free: 210.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/2.253, allocations: 8.562 kB / 1.984 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/2.255, allocations: 266.8 kB / 1.984 GB, free: 210.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/2.257, allocations: 0.7064 MB / 1.985 GB, free: 209.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/2.257, allocations: 15.95 kB / 1.985 GB, free: 209.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/2.257, allocations: 28 kB / 1.985 GB, free: 209.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004377/2.257, allocations: 290.5 kB / 1.985 GB, free: 209.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/2.258, allocations: 451.1 kB / 1.986 GB, free: 208.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/2.258, allocations: 3.984 kB / 1.986 GB, free: 208.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/2.258, allocations: 4 kB / 1.986 GB, free: 208.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/2.258, allocations: 8 kB / 1.986 GB, free: 208.7 MB / 1.151 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.002065/2.26, allocations: 2.695 MB / 1.988 GB, free: 205.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/2.26, allocations: 274.8 kB / 1.989 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/2.26, allocations: 130.2 kB / 1.989 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003254/2.261, allocations: 0.6534 MB / 1.989 GB, free: 204.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/2.261, allocations: 50.67 kB / 1.989 GB, free: 204.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/2.261, allocations: 0 / 1.989 GB, free: 204.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.004098/2.265, allocations: 1.653 MB / 1.991 GB, free: 202.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/2.265, allocations: 85.05 kB / 1.991 GB, free: 202.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/2.265, allocations: 406.2 kB / 1.991 GB, free: 202.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/2.265, allocations: 25.7 kB / 1.991 GB, free: 202.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/2.265, allocations: 328.3 kB / 1.992 GB, free: 201.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/2.265, allocations: 141.9 kB / 1.992 GB, free: 201.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/2.265, allocations: 4 kB / 1.992 GB, free: 201.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.896e-05/2.266, allocations: 362.8 kB / 1.992 GB, free: 201.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/2.266, allocations: 141.1 kB / 1.992 GB, free: 201.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/2.266, allocations: 263.1 kB / 1.993 GB, free: 201 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/2.266, allocations: 197 kB / 1.993 GB, free: 200.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/2.266, allocations: 0 / 1.993 GB, free: 200.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001271/2.268, allocations: 0.6657 MB / 1.993 GB, free: 200.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002092/2.268, allocations: 1.227 MB / 1.995 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/2.268, allocations: 4 kB / 1.995 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007642/2.269, allocations: 265.5 kB / 1.995 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/2.269, allocations: 67.91 kB / 1.995 GB, free: 198.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003734/2.273, allocations: 3.991 MB / 1.999 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009194/2.273, allocations: 71.88 kB / 1.999 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/2.274, allocations: 20.19 kB / 1.999 GB, free: 194.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.323e-06/2.274, allocations: 4 kB / 1.999 GB, free: 194.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001198/2.275, allocations: 0.5907 MB / 2 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/2.275, allocations: 4.25 kB / 2 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006824/2.275, allocations: 269.4 kB / 2 GB, free: 193.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/2.276, allocations: 67.89 kB / 2 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/2.279, allocations: 3.983 MB / 2.004 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009084/2.28, allocations: 79.81 kB / 2.004 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/2.28, allocations: 20 kB / 2.004 GB, free: 188.9 MB / 1.151 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.0001692/2.28, allocations: 125.5 kB / 2.004 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/2.28, allocations: 67.25 kB / 2.004 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/2.282, allocations: 0.6109 MB / 2.005 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/2.282, allocations: 4 kB / 2.005 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/2.282, allocations: 4 kB / 2.005 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/2.283, allocations: 0.694 MB / 2.005 GB, free: 187.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/2.285, allocations: 1.562 MB / 2.007 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/2.285, allocations: 0 / 2.007 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/2.285, allocations: 51.97 kB / 2.007 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007086/2.286, allocations: 249.5 kB / 2.007 GB, free: 185.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/2.286, allocations: 7.984 kB / 2.007 GB, free: 185.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/2.289, allocations: 3.711 MB / 2.011 GB, free: 181.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.289, allocations: 3.953 kB / 2.011 GB, free: 181.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/2.291, allocations: 0.8776 MB / 2.012 GB, free: 180.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/2.291, allocations: 188.4 kB / 2.012 GB, free: 180.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/2.291, allocations: 4 kB / 2.012 GB, free: 180.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008755/2.292, allocations: 67.88 kB / 2.012 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/2.292, allocations: 35.94 kB / 2.012 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/2.292, allocations: 16 kB / 2.012 GB, free: 180.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003121/2.293, allocations: 314.9 kB / 2.012 GB, free: 179.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/2.293, allocations: 0 / 2.012 GB, free: 179.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001604/2.294, allocations: 459.9 kB / 2.013 GB, free: 179.4 MB / 1.151 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.0006408/2.295, allocations: 323.6 kB / 2.013 GB, free: 179.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002241/2.297, allocations: 1.242 MB / 2.014 GB, free: 177.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/2.297, allocations: 0 / 2.014 GB, free: 177.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009632/2.298, allocations: 0.5034 MB / 2.015 GB, free: 177.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/2.3, allocations: 326 kB / 2.015 GB, free: 177 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/2.301, allocations: 0.897 MB / 2.016 GB, free: 176.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/2.302, allocations: 0.9314 MB / 2.017 GB, free: 175.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009811/2.303, allocations: 165.1 kB / 2.017 GB, free: 174.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/2.303, allocations: 47.42 kB / 2.017 GB, free: 174.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.924e-06/2.303, allocations: 0 / 2.017 GB, free: 174.9 MB / 1.151 GB Notification: Performance of Templates: time 0.02546/2.329, allocations: 16.89 MB / 2.033 GB, free: 158.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches