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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.148/2.148, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001091/0.001091, allocations: 181.3 kB / 487 MB, free: 5.43 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.3 MB / 0.7819 GB, free: 1.406 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.001205/0.001205, allocations: 100.9 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.045e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3009, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.89/11.2, allocations: 4.67 GB / 5.875 GB, free: 336.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/11.2, allocations: 83.95 kB / 5.876 GB, free: 336.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.513/12.71, allocations: 0.5018 GB / 6.377 GB, free: 267.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.481e-05/12.71, allocations: 22.66 kB / 6.377 GB, free: 267.7 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.002395/12.71, allocations: 1.172 MB / 6.378 GB, free: 266.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/12.71, allocations: 12.53 kB / 6.378 GB, free: 266.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/12.71, allocations: 346.3 kB / 6.379 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/12.72, allocations: 0.9184 MB / 6.38 GB, free: 265.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/12.72, allocations: 20 kB / 6.38 GB, free: 265.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.994e-05/12.72, allocations: 43.91 kB / 6.38 GB, free: 265.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009027/12.72, allocations: 0.5336 MB / 6.38 GB, free: 264.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008324/12.72, allocations: 0.5271 MB / 6.381 GB, free: 264.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/12.72, allocations: 4 kB / 6.381 GB, free: 264.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/12.72, allocations: 4 kB / 6.381 GB, free: 264.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/12.72, allocations: 21.31 kB / 6.381 GB, free: 264.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/12.72, allocations: 2.81 MB / 6.384 GB, free: 261.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/12.72, allocations: 424.6 kB / 6.384 GB, free: 260.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/12.72, allocations: 236 kB / 6.384 GB, free: 260.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/12.72, allocations: 107.2 kB / 6.384 GB, free: 260.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/12.72, allocations: 38.56 kB / 6.384 GB, free: 260.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 3.887e-06/12.72, allocations: 0 / 6.384 GB, free: 260.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.007751/12.73, allocations: 2.506 MB / 6.387 GB, free: 257.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/12.73, allocations: 59.91 kB / 6.387 GB, free: 257.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/12.73, allocations: 474.5 kB / 6.387 GB, free: 257.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/12.73, allocations: 25.7 kB / 6.387 GB, free: 257.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/12.73, allocations: 268.2 kB / 6.388 GB, free: 256.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/12.73, allocations: 212.9 kB / 6.388 GB, free: 256.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/12.73, allocations: 0 / 6.388 GB, free: 256.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001118/12.73, allocations: 378.8 kB / 6.388 GB, free: 256.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/12.73, allocations: 257.2 kB / 6.388 GB, free: 256 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/12.73, allocations: 354.3 kB / 6.389 GB, free: 255.6 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.00533/12.74, allocations: 1.396 MB / 6.39 GB, free: 254.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/12.74, allocations: 0 / 6.39 GB, free: 254.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002331/12.74, allocations: 1.018 MB / 6.391 GB, free: 253.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001663/12.74, allocations: 0.611 MB / 6.392 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/12.74, allocations: 0 / 6.392 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/12.74, allocations: 438.8 kB / 6.392 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/12.74, allocations: 91.83 kB / 6.392 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/12.75, allocations: 4.397 MB / 6.396 GB, free: 247.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009455/12.75, allocations: 51.8 kB / 6.397 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/12.75, allocations: 20 kB / 6.397 GB, free: 247.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/12.75, allocations: 4 kB / 6.397 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002163/12.75, allocations: 0.9175 MB / 6.397 GB, free: 246.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/12.75, allocations: 4.031 kB / 6.397 GB, free: 246.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/12.75, allocations: 429 kB / 6.398 GB, free: 246.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/12.75, allocations: 71.91 kB / 6.398 GB, free: 246 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00548/12.76, allocations: 3.804 MB / 6.402 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/12.76, allocations: 51.8 kB / 6.402 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/12.76, allocations: 23.98 kB / 6.402 GB, free: 242 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: 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.0002921/12.76, allocations: 120.8 kB / 6.402 GB, free: 241.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/12.76, allocations: 75.06 kB / 6.402 GB, free: 241.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/12.76, allocations: 1.018 MB / 6.403 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/12.76, allocations: 4 kB / 6.403 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/12.76, allocations: 0 / 6.403 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002114/12.76, allocations: 1.209 MB / 6.404 GB, free: 239.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004131/12.77, allocations: 2.201 MB / 6.406 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/12.77, allocations: 0 / 6.406 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/12.77, allocations: 67.84 kB / 6.406 GB, free: 237.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/12.77, allocations: 448.4 kB / 6.407 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/12.77, allocations: 19.89 kB / 6.407 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005783/12.78, allocations: 4.312 MB / 6.411 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/12.78, allocations: 4 kB / 6.411 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002923/12.78, allocations: 1.454 MB / 6.412 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/12.78, allocations: 240.1 kB / 6.413 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/12.78, allocations: 8 kB / 6.413 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/12.78, allocations: 43.86 kB / 6.413 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/12.78, allocations: 36.44 kB / 6.413 GB, free: 230.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-05/12.78, allocations: 23.98 kB / 6.413 GB, free: 230.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007182/12.78, allocations: 366.9 kB / 6.413 GB, free: 230.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003063/12.79, allocations: 0.5624 MB / 6.414 GB, free: 229.5 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.002358/12.79, allocations: 1.365 MB / 6.415 GB, free: 228.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003061/12.79, allocations: 1.422 MB / 6.416 GB, free: 226.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/12.79, allocations: 4 kB / 6.416 GB, free: 226.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/12.79, allocations: 0.5331 MB / 6.417 GB, free: 226.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/12.79, allocations: 422.9 kB / 6.417 GB, free: 225.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/12.8, allocations: 1.515 MB / 6.419 GB, free: 224.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007336/12.8, allocations: 1.1 MB / 6.42 GB, free: 223.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.343e-06/12.8, allocations: 0 / 6.42 GB, free: 223.2 MB / 1.151 GB Notification: Performance of Templates: time 0.04349/12.84, allocations: 30.94 MB / 6.45 GB, free: 192.5 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