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") [: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 7.0.3-maint.7.0.x/package.mo): time 1.183/1.183, allocations: 249.4 MB / 256.7 MB, free: 7.082 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.0009875/0.0009875, allocations: 177.2 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.012/1.012, allocations: 205.2 MB / 0.5667 GB, free: 15.64 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.0008376/0.0008376, allocations: 79.45 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.633e-06/6.653e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1405, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.593/7.734, allocations: 4.875 GB / 5.759 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/7.734, allocations: 86.64 kB / 5.759 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.082/8.816, allocations: 0.4885 GB / 6.248 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.069e-05/8.816, allocations: 27.98 kB / 6.248 GB, free: 11.26 MB / 0.8855 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.002004/8.818, allocations: 1.168 MB / 6.249 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/8.818, allocations: 16.03 kB / 6.249 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/8.82, allocations: 338.5 kB / 6.249 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/8.822, allocations: 0.8974 MB / 6.25 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/8.822, allocations: 23.94 kB / 6.25 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.29e-05/8.822, allocations: 36 kB / 6.25 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008832/8.823, allocations: 0.5219 MB / 6.251 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008623/8.824, allocations: 0.5233 MB / 6.251 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/8.824, allocations: 0 / 6.251 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/8.824, allocations: 8 kB / 6.251 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/8.824, allocations: 29.22 kB / 6.251 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/8.827, allocations: 2.688 MB / 6.254 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000577/8.828, allocations: 416.1 kB / 6.254 GB, free: 4.273 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/8.828, allocations: 240.2 kB / 6.255 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/8.828, allocations: 97.47 kB / 6.255 GB, free: 3.922 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/8.828, allocations: 42.88 kB / 6.255 GB, free: 3.871 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=45): time 1.583e-06/8.828, allocations: 0 / 6.255 GB, free: 3.871 MB / 0.8855 GB Notification: Performance of matching and sorting (n=63): time 0.007813/8.836, allocations: 2.684 MB / 6.257 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/8.836, allocations: 56.06 kB / 6.257 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005097/8.837, allocations: 474.3 kB / 6.258 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/8.837, allocations: 29.7 kB / 6.258 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/8.837, allocations: 268.2 kB / 6.258 GB, free: 304 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/8.837, allocations: 212.8 kB / 6.258 GB, free: 88 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/8.837, allocations: 0 / 6.258 GB, free: 88 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.2956/9.133, allocations: 378.8 kB / 6.259 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/9.133, allocations: 273.1 kB / 6.259 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/9.133, allocations: 368.9 kB / 6.259 GB, free: 161 MB / 0.8855 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.005217/9.139, allocations: 1.433 MB / 6.261 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/9.139, allocations: 3.969 kB / 6.261 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002199/9.141, allocations: 1.059 MB / 6.262 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.66e-05/9.141, allocations: 0.6125 MB / 6.262 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/9.141, allocations: 0 / 6.262 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/9.143, allocations: 466.6 kB / 6.263 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/9.143, allocations: 88.53 kB / 6.263 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00535/9.148, allocations: 4.569 MB / 6.267 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007177/9.149, allocations: 53.09 kB / 6.267 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/9.149, allocations: 23.22 kB / 6.267 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-06/9.149, allocations: 3.781 kB / 6.267 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002053/9.151, allocations: 0.9652 MB / 6.268 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/9.151, allocations: 3.969 kB / 6.268 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/9.153, allocations: 463.8 kB / 6.269 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/9.153, allocations: 78.8 kB / 6.269 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005196/9.158, allocations: 3.972 MB / 6.273 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007479/9.159, allocations: 52.64 kB / 6.273 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/9.159, allocations: 20.75 kB / 6.273 GB, free: 157 MB / 0.8855 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 {6 23} Notification: Performance of prepare postOptimizeDAE: time 0.0002272/9.159, allocations: 126 kB / 6.273 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/9.159, allocations: 73.19 kB / 6.273 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/9.162, allocations: 1.053 MB / 6.274 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/9.162, allocations: 7.25 kB / 6.274 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/9.162, allocations: 0 / 6.274 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002/9.164, allocations: 1.268 MB / 6.275 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/9.167, allocations: 2.242 MB / 6.277 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/9.167, allocations: 2.531 kB / 6.277 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/9.168, allocations: 71.03 kB / 6.278 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/9.17, allocations: 486.9 kB / 6.278 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.875e-05/9.17, allocations: 17.42 kB / 6.278 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005081/9.175, allocations: 4.361 MB / 6.282 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/9.175, allocations: 7.75 kB / 6.282 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002536/9.177, allocations: 1.496 MB / 6.284 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/9.178, allocations: 242.5 kB / 6.284 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/9.178, allocations: 13.5 kB / 6.284 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007185/9.179, allocations: 48.38 kB / 6.284 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/9.179, allocations: 42.78 kB / 6.284 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/9.179, allocations: 25.14 kB / 6.284 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0003478/9.179, allocations: 363.6 kB / 6.284 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001819/9.181, allocations: 0.5498 MB / 6.285 GB, free: 153.5 MB / 0.8855 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.001283/9.182, allocations: 1.375 MB / 6.286 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002643/9.185, allocations: 1.508 MB / 6.288 GB, free: 153 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/9.185, allocations: 0 / 6.288 GB, free: 153 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/9.186, allocations: 0.572 MB / 6.288 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/9.188, allocations: 425.1 kB / 6.289 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/9.19, allocations: 1.521 MB / 6.29 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/9.191, allocations: 1.096 MB / 6.291 GB, free: 151.9 MB / 0.8855 GB Notification: Performance of SimCode: time 2.7e-07/9.191, allocations: 0 / 6.291 GB, free: 151.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.0354/9.226, allocations: 31.19 MB / 6.322 GB, free: 151.3 MB / 0.8855 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