Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.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.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.383/2.383, allocations: 390.5 MB / 398 MB, free: 11.01 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.001157/0.001157, allocations: 188.3 kB / 491.2 MB, free: 1.59 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.588/1.588, 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.001006/0.001006, allocations: 91.83 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.142e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3034, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 13.56/13.87, allocations: 4.671 GB / 5.883 GB, free: 299.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/13.87, allocations: 80.58 kB / 5.883 GB, free: 299.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.94/15.81, allocations: 0.4967 GB / 6.38 GB, free: 233.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.044e-06/15.81, allocations: 4 kB / 6.38 GB, free: 233.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001389/15.81, allocations: 24 kB / 6.38 GB, free: 233.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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003531/15.81, allocations: 1.182 MB / 6.381 GB, free: 232.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/15.81, allocations: 12.03 kB / 6.381 GB, free: 232.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/15.81, allocations: 371.6 kB / 6.382 GB, free: 231.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/15.82, allocations: 0.8904 MB / 6.383 GB, free: 231 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/15.82, allocations: 20 kB / 6.383 GB, free: 231 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/15.82, allocations: 40 kB / 6.383 GB, free: 230.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00118/15.82, allocations: 0.5219 MB / 6.383 GB, free: 230.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/15.82, allocations: 0.5155 MB / 6.384 GB, free: 229.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/15.82, allocations: 4 kB / 6.384 GB, free: 229.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.84e-05/15.82, allocations: 1.031 kB / 6.384 GB, free: 229.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/15.82, allocations: 21.31 kB / 6.384 GB, free: 229.8 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.005321/15.82, allocations: 2.678 MB / 6.386 GB, free: 227 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009463/15.83, allocations: 443.7 kB / 6.387 GB, free: 226.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/15.83, allocations: 231.6 kB / 6.387 GB, free: 226.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/15.83, allocations: 99.34 kB / 6.387 GB, free: 226.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/15.83, allocations: 38.56 kB / 6.387 GB, free: 226.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 4.599e-06/15.83, allocations: 0 / 6.387 GB, free: 226.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.008591/15.84, allocations: 2.391 MB / 6.389 GB, free: 223.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/15.84, allocations: 55.97 kB / 6.389 GB, free: 223.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/15.84, allocations: 474.4 kB / 6.39 GB, free: 223.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/15.84, allocations: 29.7 kB / 6.39 GB, free: 223.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/15.84, allocations: 364.2 kB / 6.39 GB, free: 222.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/15.84, allocations: 212.8 kB / 6.39 GB, free: 222.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/15.84, allocations: 0 / 6.39 GB, free: 222.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002171/15.84, allocations: 378.7 kB / 6.391 GB, free: 222.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/15.84, allocations: 249.5 kB / 6.391 GB, free: 221.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/15.84, allocations: 347.3 kB / 6.391 GB, free: 221.5 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (0.9999999999999999 * vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005383/15.84, allocations: 1.366 MB / 6.393 GB, free: 220.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/15.84, allocations: 4 kB / 6.393 GB, free: 220.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002546/15.85, allocations: 0.9913 MB / 6.394 GB, free: 219.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002469/15.85, allocations: 0.6151 MB / 6.394 GB, free: 218.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/15.85, allocations: 4 kB / 6.394 GB, free: 218.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/15.85, allocations: 417.2 kB / 6.395 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/15.85, allocations: 83.89 kB / 6.395 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006256/15.85, allocations: 4.567 MB / 6.399 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/15.86, allocations: 59.84 kB / 6.399 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.352e-05/15.86, allocations: 20 kB / 6.399 GB, free: 213.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/15.86, allocations: 4 kB / 6.399 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002092/15.86, allocations: 0.9001 MB / 6.4 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/15.86, allocations: 4 kB / 6.4 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/15.86, allocations: 408.6 kB / 6.401 GB, free: 211.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/15.86, allocations: 83.86 kB / 6.401 GB, free: 211.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005678/15.87, allocations: 3.984 MB / 6.405 GB, free: 207.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/15.87, allocations: 51.8 kB / 6.405 GB, free: 207.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.777e-05/15.87, allocations: 19.98 kB / 6.405 GB, free: 207.7 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real $DER.vol1.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.000438/15.87, allocations: 127.1 kB / 6.405 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/15.87, allocations: 75.16 kB / 6.405 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/15.87, allocations: 0.9984 MB / 6.406 GB, free: 206.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/15.87, allocations: 4 kB / 6.406 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/15.87, allocations: 0 / 6.406 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002187/15.87, allocations: 1.212 MB / 6.407 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004636/15.88, allocations: 2.154 MB / 6.409 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/15.88, allocations: 4 kB / 6.409 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/15.88, allocations: 59.92 kB / 6.409 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/15.88, allocations: 441.1 kB / 6.41 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/15.88, allocations: 19.92 kB / 6.41 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006008/15.89, allocations: 4.474 MB / 6.414 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/15.89, allocations: 4 kB / 6.414 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/15.89, allocations: 1.433 MB / 6.415 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005814/15.89, allocations: 236.2 kB / 6.416 GB, free: 196.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/15.89, allocations: 11.98 kB / 6.416 GB, free: 196.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009359/15.89, allocations: 39.88 kB / 6.416 GB, free: 196 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/15.89, allocations: 48.48 kB / 6.416 GB, free: 196 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/15.89, allocations: 23.98 kB / 6.416 GB, free: 196 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005277/15.89, allocations: 370.9 kB / 6.416 GB, free: 195.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.232e-06/15.89, allocations: 0 / 6.416 GB, free: 195.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003171/15.89, allocations: 0.5882 MB / 6.417 GB, free: 195 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.T,vol1.dynBal.medium.p,vol1.dynBal.medium.Xi[1],vol1.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.002133/15.9, allocations: 1.365 MB / 6.418 GB, free: 193.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002912/15.9, allocations: 1.51 MB / 6.419 GB, free: 192.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/15.9, allocations: 0 / 6.419 GB, free: 192.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/15.9, allocations: 0.5856 MB / 6.42 GB, free: 191.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/15.9, allocations: 433.4 kB / 6.42 GB, free: 191.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/15.91, allocations: 1.462 MB / 6.422 GB, free: 189.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/15.91, allocations: 1.069 MB / 6.423 GB, free: 188.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001245/15.91, allocations: 242.1 kB / 6.423 GB, free: 188.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/15.91, allocations: 43.44 kB / 6.423 GB, free: 188.4 MB / 1.151 GB Notification: Performance of SimCode: time 8.12e-07/15.91, allocations: 0 / 6.423 GB, free: 188.4 MB / 1.151 GB Notification: Performance of Templates: time 0.04647/15.95, allocations: 28.95 MB / 6.451 GB, free: 159.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches