Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.229/2.229, allocations: 390.5 MB / 398 MB, free: 10.94 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.001101/0.001102, allocations: 180.9 kB / 491.2 MB, free: 1.598 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.605/1.605, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008768/0.0008768, allocations: 91.41 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.885e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3633, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.228/2.591, allocations: 0.6126 GB / 1.825 GB, free: 390.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/2.592, allocations: 88.8 kB / 1.825 GB, free: 390.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3318/2.923, allocations: 169.1 MB / 1.99 GB, free: 219.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.864e-06/2.924, allocations: 0 / 1.99 GB, free: 219.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001054/2.924, allocations: 27.92 kB / 1.99 GB, free: 219.8 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.001843/2.925, allocations: 0.9479 MB / 1.991 GB, free: 218.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/2.926, allocations: 11.97 kB / 1.991 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/2.928, allocations: 270.8 kB / 1.991 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/2.929, allocations: 0.7064 MB / 1.992 GB, free: 217.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/2.929, allocations: 12 kB / 1.992 GB, free: 217.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/2.929, allocations: 28 kB / 1.992 GB, free: 217.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005299/2.93, allocations: 290.6 kB / 1.992 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006028/2.93, allocations: 443.1 kB / 1.993 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/2.93, allocations: 3.938 kB / 1.993 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/2.93, allocations: 4 kB / 1.993 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/2.93, allocations: 12 kB / 1.993 GB, free: 216.9 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.002279/2.933, allocations: 2.695 MB / 1.995 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/2.933, allocations: 271 kB / 1.996 GB, free: 213.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/2.933, allocations: 134.1 kB / 1.996 GB, free: 213.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004355/2.934, allocations: 0.6729 MB / 1.996 GB, free: 212.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/2.934, allocations: 34.8 kB / 1.996 GB, free: 212.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 2.434e-06/2.934, allocations: 0 / 1.996 GB, free: 212.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.004454/2.938, allocations: 1.65 MB / 1.998 GB, free: 211 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/2.938, allocations: 85.14 kB / 1.998 GB, free: 210.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/2.939, allocations: 410.2 kB / 1.999 GB, free: 210.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/2.939, allocations: 25.7 kB / 1.999 GB, free: 210.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/2.939, allocations: 328.3 kB / 1.999 GB, free: 210.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.36e-05/2.939, allocations: 138 kB / 1.999 GB, free: 210 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/2.939, allocations: 0 / 1.999 GB, free: 210 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/2.939, allocations: 362.8 kB / 1.999 GB, free: 209.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/2.939, allocations: 141.1 kB / 2 GB, free: 209.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/2.94, allocations: 267 kB / 2 GB, free: 209.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/2.94, allocations: 199.8 kB / 2 GB, free: 209 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/2.94, allocations: 3.953 kB / 2 GB, free: 209 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001372/2.941, allocations: 0.6584 MB / 2.001 GB, free: 208.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003322/2.942, allocations: 1.229 MB / 2.002 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/2.942, allocations: 4 kB / 2.002 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008233/2.942, allocations: 257.5 kB / 2.002 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/2.943, allocations: 71.84 kB / 2.002 GB, free: 206.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004207/2.947, allocations: 3.999 MB / 2.006 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/2.948, allocations: 71.89 kB / 2.006 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/2.948, allocations: 23.98 kB / 2.006 GB, free: 202.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/2.948, allocations: 8 kB / 2.006 GB, free: 202.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001374/2.95, allocations: 0.5748 MB / 2.007 GB, free: 201.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/2.95, allocations: 4 kB / 2.007 GB, free: 201.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007438/2.95, allocations: 266 kB / 2.007 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/2.951, allocations: 67.84 kB / 2.007 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003995/2.955, allocations: 3.988 MB / 2.011 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/2.956, allocations: 75.92 kB / 2.011 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/2.956, allocations: 23.92 kB / 2.011 GB, free: 197.1 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.0002367/2.956, allocations: 117.6 kB / 2.011 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/2.956, allocations: 63.2 kB / 2.011 GB, free: 196.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/2.958, allocations: 0.6059 MB / 2.012 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/2.958, allocations: 4 kB / 2.012 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/2.958, allocations: 3.953 kB / 2.012 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001244/2.959, allocations: 0.6947 MB / 2.012 GB, free: 195.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/2.962, allocations: 1.566 MB / 2.014 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/2.962, allocations: 0 / 2.014 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/2.962, allocations: 51.91 kB / 2.014 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007789/2.963, allocations: 237.5 kB / 2.014 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/2.963, allocations: 7.984 kB / 2.014 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003705/2.967, allocations: 3.727 MB / 2.018 GB, free: 189.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/2.967, allocations: 4.031 kB / 2.018 GB, free: 189.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/2.968, allocations: 0.8817 MB / 2.019 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/2.969, allocations: 188.4 kB / 2.019 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.308e-05/2.969, allocations: 0 / 2.019 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009565/2.97, allocations: 67.89 kB / 2.019 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/2.97, allocations: 27.95 kB / 2.019 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/2.97, allocations: 19.98 kB / 2.019 GB, free: 188.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003755/2.97, allocations: 314.9 kB / 2.019 GB, free: 188.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.41e-07/2.97, allocations: 0 / 2.019 GB, free: 188.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001849/2.972, allocations: 451.8 kB / 2.02 GB, free: 187.7 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.0006915/2.973, allocations: 322.1 kB / 2.02 GB, free: 187.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002402/2.975, allocations: 1.245 MB / 2.021 GB, free: 186.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/2.975, allocations: 4 kB / 2.021 GB, free: 186.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009889/2.976, allocations: 0.503 MB / 2.022 GB, free: 185.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/2.978, allocations: 327.3 kB / 2.022 GB, free: 185.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/2.979, allocations: 0.8815 MB / 2.023 GB, free: 184.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/2.98, allocations: 0.9431 MB / 2.024 GB, free: 183.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007576/2.981, allocations: 169 kB / 2.024 GB, free: 183.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/2.981, allocations: 39.38 kB / 2.024 GB, free: 183.2 MB / 1.151 GB Notification: Performance of SimCode: time 6.21e-07/2.981, allocations: 0 / 2.024 GB, free: 183.2 MB / 1.151 GB Notification: Performance of Templates: time 0.02417/3.005, allocations: 16.9 MB / 2.041 GB, free: 166.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches