Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.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.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.999/1.999, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009979/0.0009979, allocations: 180.8 kB / 487.4 MB, free: 5.059 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.303/1.303, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.0008512/0.0008513, allocations: 102.7 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.381e-05/1.384e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2287, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.3/10.53, allocations: 4.67 GB / 5.876 GB, free: 258.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/10.53, allocations: 87.05 kB / 5.876 GB, free: 258.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.711/12.24, allocations: 0.4967 GB / 6.373 GB, free: 210.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.904e-06/12.24, allocations: 0 / 6.373 GB, free: 210.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.226e-05/12.24, allocations: 27.52 kB / 6.373 GB, free: 210.2 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.002324/12.24, allocations: 1.173 MB / 6.374 GB, free: 209 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/12.24, allocations: 8.562 kB / 6.374 GB, free: 209 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/12.24, allocations: 370.4 kB / 6.375 GB, free: 208.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/12.24, allocations: 0.894 MB / 6.375 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/12.24, allocations: 20 kB / 6.375 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.66e-05/12.24, allocations: 40 kB / 6.375 GB, free: 207.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007525/12.24, allocations: 0.5219 MB / 6.376 GB, free: 207.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/12.25, allocations: 0.5154 MB / 6.376 GB, free: 206.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/12.25, allocations: 4 kB / 6.377 GB, free: 206.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.074e-05/12.25, allocations: 0 / 6.377 GB, free: 206.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/12.25, allocations: 25.3 kB / 6.377 GB, free: 206.6 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.002733/12.25, allocations: 2.669 MB / 6.379 GB, free: 203.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/12.25, allocations: 445.9 kB / 6.38 GB, free: 203.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/12.25, allocations: 233.9 kB / 6.38 GB, free: 203 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/12.25, allocations: 103.1 kB / 6.38 GB, free: 202.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/12.25, allocations: 38.56 kB / 6.38 GB, free: 202.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 2.374e-06/12.25, allocations: 0 / 6.38 GB, free: 202.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.005969/12.26, allocations: 2.381 MB / 6.382 GB, free: 200.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/12.26, allocations: 55.97 kB / 6.382 GB, free: 200.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/12.26, allocations: 470.5 kB / 6.383 GB, free: 199.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/12.26, allocations: 33.7 kB / 6.383 GB, free: 199.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/12.26, allocations: 356.2 kB / 6.383 GB, free: 199.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/12.26, allocations: 212.9 kB / 6.383 GB, free: 199.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/12.26, allocations: 0 / 6.383 GB, free: 199.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.722e-05/12.26, allocations: 382.7 kB / 6.384 GB, free: 198.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/12.26, allocations: 249.5 kB / 6.384 GB, free: 198.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/12.26, allocations: 355.4 kB / 6.384 GB, free: 198.3 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.004747/12.26, allocations: 1.365 MB / 6.386 GB, free: 196.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/12.26, allocations: 0 / 6.386 GB, free: 196.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002044/12.26, allocations: 1.003 MB / 6.387 GB, free: 195.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/12.26, allocations: 0.6145 MB / 6.387 GB, free: 195.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/12.26, allocations: 4 kB / 6.387 GB, free: 195.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/12.27, allocations: 418.8 kB / 6.388 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/12.27, allocations: 87.83 kB / 6.388 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005874/12.27, allocations: 4.559 MB / 6.392 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009709/12.27, allocations: 55.84 kB / 6.392 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/12.27, allocations: 27.97 kB / 6.392 GB, free: 189.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/12.27, allocations: 6.188 kB / 6.392 GB, free: 189.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002044/12.28, allocations: 0.9039 MB / 6.393 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/12.28, allocations: 0 / 6.393 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/12.28, allocations: 413.2 kB / 6.393 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/12.28, allocations: 75.91 kB / 6.394 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005127/12.28, allocations: 3.98 MB / 6.397 GB, free: 184.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008882/12.28, allocations: 51.84 kB / 6.397 GB, free: 184.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/12.28, allocations: 20 kB / 6.398 GB, free: 184.4 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.0003564/12.28, allocations: 136.7 kB / 6.398 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/12.28, allocations: 71.16 kB / 6.398 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/12.29, allocations: 0.9907 MB / 6.399 GB, free: 183.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/12.29, allocations: 8 kB / 6.399 GB, free: 183.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/12.29, allocations: 0 / 6.399 GB, free: 183.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001886/12.29, allocations: 1.22 MB / 6.4 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/12.29, allocations: 2.152 MB / 6.402 GB, free: 179.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/12.29, allocations: 4 kB / 6.402 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/12.29, allocations: 63.91 kB / 6.402 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/12.29, allocations: 444.3 kB / 6.402 GB, free: 179.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/12.29, allocations: 19.98 kB / 6.402 GB, free: 179.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004818/12.3, allocations: 4.473 MB / 6.407 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/12.3, allocations: 4 kB / 6.407 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/12.3, allocations: 1.429 MB / 6.408 GB, free: 173 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/12.3, allocations: 236.4 kB / 6.408 GB, free: 172.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.575e-05/12.3, allocations: 12 kB / 6.408 GB, free: 172.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000692/12.3, allocations: 51.73 kB / 6.409 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/12.3, allocations: 48.42 kB / 6.409 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/12.3, allocations: 27.98 kB / 6.409 GB, free: 172.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004077/12.3, allocations: 366.9 kB / 6.409 GB, free: 172.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/12.3, allocations: 0 / 6.409 GB, free: 172.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002613/12.3, allocations: 0.5741 MB / 6.41 GB, free: 171.7 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.001658/12.31, allocations: 1.362 MB / 6.411 GB, free: 170.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002576/12.31, allocations: 1.508 MB / 6.412 GB, free: 169 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/12.31, allocations: 0 / 6.412 GB, free: 169 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009138/12.31, allocations: 0.5811 MB / 6.413 GB, free: 168.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/12.31, allocations: 436.7 kB / 6.413 GB, free: 167.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/12.31, allocations: 1.474 MB / 6.415 GB, free: 166.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/12.32, allocations: 1.069 MB / 6.416 GB, free: 165.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001055/12.32, allocations: 238 kB / 6.416 GB, free: 165.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/12.32, allocations: 43.44 kB / 6.416 GB, free: 165.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/12.32, allocations: 0 / 6.416 GB, free: 165.1 MB / 1.151 GB Notification: Performance of Templates: time 0.03843/12.35, allocations: 28.93 MB / 6.444 GB, free: 136.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches