Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.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.CoupledVolumesSpecializedAirPerfectGas,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.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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 249.5 MB / 257 MB, free: 6.934 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.001381/0.001381, allocations: 183.5 kB / 316.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.001098/0.001097, allocations: 92.72 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.706e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2561, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 13.43/13.69, allocations: 4.875 GB / 5.76 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000415/13.69, allocations: 87.95 kB / 5.76 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.717/15.4, allocations: 495.2 MB / 6.244 GB, free: 70.71 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.056e-06/15.4, allocations: 0 / 6.244 GB, free: 70.71 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.026e-05/15.4, allocations: 23.98 kB / 6.244 GB, free: 70.68 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002786/15.41, allocations: 1.165 MB / 6.245 GB, free: 69.47 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/15.41, allocations: 8.031 kB / 6.245 GB, free: 69.46 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/15.41, allocations: 372.9 kB / 6.245 GB, free: 69.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/15.41, allocations: 0.8741 MB / 6.246 GB, free: 68.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/15.41, allocations: 24 kB / 6.246 GB, free: 68.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-05/15.41, allocations: 36.69 kB / 6.246 GB, free: 68.12 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009147/15.41, allocations: 0.5102 MB / 6.246 GB, free: 67.61 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008603/15.41, allocations: 0.5154 MB / 6.247 GB, free: 67.09 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/15.41, allocations: 7.984 kB / 6.247 GB, free: 67.09 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-05/15.41, allocations: 0 / 6.247 GB, free: 67.09 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/15.41, allocations: 25.25 kB / 6.247 GB, free: 67.06 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.003507/15.42, allocations: 2.669 MB / 6.25 GB, free: 64.15 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/15.42, allocations: 428.1 kB / 6.25 GB, free: 63.72 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/15.42, allocations: 225.9 kB / 6.25 GB, free: 63.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/15.42, allocations: 97.47 kB / 6.25 GB, free: 63.38 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/15.42, allocations: 38.94 kB / 6.25 GB, free: 63.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 2.204e-06/15.42, allocations: 0 / 6.25 GB, free: 63.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.006995/15.42, allocations: 2.547 MB / 6.253 GB, free: 60.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/15.42, allocations: 59.92 kB / 6.253 GB, free: 60.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/15.43, allocations: 462.5 kB / 6.253 GB, free: 60.21 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/15.43, allocations: 29.7 kB / 6.253 GB, free: 60.18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/15.43, allocations: 364.1 kB / 6.254 GB, free: 59.81 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/15.43, allocations: 216.8 kB / 6.254 GB, free: 59.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/15.43, allocations: 0 / 6.254 GB, free: 59.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001414/15.43, allocations: 378.7 kB / 6.254 GB, free: 59.22 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/15.43, allocations: 261.5 kB / 6.255 GB, free: 58.96 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/15.43, allocations: 373 kB / 6.255 GB, free: 58.56 MB / 0.8698 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.005113/15.43, allocations: 1.397 MB / 6.256 GB, free: 57.14 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/15.43, allocations: 0 / 6.256 GB, free: 57.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002326/15.43, allocations: 1.045 MB / 6.257 GB, free: 56.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002095/15.43, allocations: 0.6183 MB / 6.258 GB, free: 55.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/15.43, allocations: 4 kB / 6.258 GB, free: 55.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001573/15.44, allocations: 453.5 kB / 6.258 GB, free: 54.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/15.44, allocations: 87.83 kB / 6.258 GB, free: 54.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006826/15.44, allocations: 4.798 MB / 6.263 GB, free: 49.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/15.44, allocations: 51.8 kB / 6.263 GB, free: 49.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/15.44, allocations: 20.06 kB / 6.263 GB, free: 49.88 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/15.44, allocations: 4 kB / 6.263 GB, free: 49.87 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002321/15.45, allocations: 0.9468 MB / 6.264 GB, free: 48.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/15.45, allocations: 3.938 kB / 6.264 GB, free: 48.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/15.45, allocations: 449.2 kB / 6.264 GB, free: 48.47 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/15.45, allocations: 79.84 kB / 6.265 GB, free: 48.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006327/15.46, allocations: 4.201 MB / 6.269 GB, free: 44.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/15.46, allocations: 51.92 kB / 6.269 GB, free: 44.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/15.46, allocations: 24 kB / 6.269 GB, free: 44 MB / 0.8698 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 {6 23} Notification: Performance of prepare postOptimizeDAE: time 0.0005005/15.46, allocations: 122.6 kB / 6.269 GB, free: 43.88 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/15.46, allocations: 71.16 kB / 6.269 GB, free: 43.81 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/15.46, allocations: 1.038 MB / 6.27 GB, free: 42.76 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/15.46, allocations: 4 kB / 6.27 GB, free: 42.75 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/15.46, allocations: 0 / 6.27 GB, free: 42.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002222/15.46, allocations: 1.251 MB / 6.271 GB, free: 41.42 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004495/15.47, allocations: 2.225 MB / 6.273 GB, free: 39.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/15.47, allocations: 4 kB / 6.273 GB, free: 39.13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/15.47, allocations: 67.94 kB / 6.273 GB, free: 39.06 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001847/15.47, allocations: 486.8 kB / 6.274 GB, free: 38.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/15.47, allocations: 15.98 kB / 6.274 GB, free: 38.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005671/15.47, allocations: 4.564 MB / 6.278 GB, free: 33.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/15.47, allocations: 0 / 6.278 GB, free: 33.86 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/15.48, allocations: 1.484 MB / 6.28 GB, free: 32.33 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006554/15.48, allocations: 240.2 kB / 6.28 GB, free: 32.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/15.48, allocations: 11.98 kB / 6.28 GB, free: 32.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009046/15.48, allocations: 47.8 kB / 6.28 GB, free: 32.02 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/15.48, allocations: 44.5 kB / 6.28 GB, free: 31.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.36e-05/15.48, allocations: 23.98 kB / 6.28 GB, free: 31.95 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005555/15.48, allocations: 362.9 kB / 6.28 GB, free: 31.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/15.48, allocations: 0 / 6.28 GB, free: 31.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00268/15.48, allocations: 0.5507 MB / 6.281 GB, free: 31.05 MB / 0.8698 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 (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): 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 {6 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002195/15.49, allocations: 1.362 MB / 6.282 GB, free: 29.66 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003406/15.49, allocations: 1.618 MB / 6.284 GB, free: 28.02 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/15.49, allocations: 0 / 6.284 GB, free: 28.02 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/15.49, allocations: 0.6313 MB / 6.285 GB, free: 27.38 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/15.49, allocations: 449.3 kB / 6.285 GB, free: 26.95 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/15.5, allocations: 1.47 MB / 6.286 GB, free: 25.44 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/15.5, allocations: 1.062 MB / 6.287 GB, free: 24.35 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001192/15.5, allocations: 246 kB / 6.288 GB, free: 24.11 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/15.5, allocations: 47.44 kB / 6.288 GB, free: 24.06 MB / 0.8698 GB Notification: Performance of SimCode: time 1.653e-06/15.5, allocations: 0 / 6.288 GB, free: 24.06 MB / 0.8698 GB Notification: Performance of Templates: time 0.7087/16.21, allocations: 29.37 MB / 6.316 GB, free: 186.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches