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") [: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 10.0.0-master/package.mo): time 2.078/2.078, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001125/0.001125, allocations: 180 kB / 490.8 MB, free: 1.945 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.547/1.547, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.001008/0.001008, allocations: 98.61 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.226e-06/8.556e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.311, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.672/8.983, allocations: 4.671 GB / 5.883 GB, free: 322.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/8.984, allocations: 88.7 kB / 5.883 GB, free: 322.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.775/10.76, allocations: 0.5018 GB / 6.384 GB, free: 248.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001473/10.76, allocations: 23.91 kB / 6.384 GB, free: 248.4 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.003673/10.76, allocations: 1.179 MB / 6.386 GB, free: 247.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/10.76, allocations: 12.03 kB / 6.386 GB, free: 247.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/10.76, allocations: 338.4 kB / 6.386 GB, free: 246.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/10.77, allocations: 0.905 MB / 6.387 GB, free: 245.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/10.77, allocations: 20 kB / 6.387 GB, free: 245.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/10.77, allocations: 43.89 kB / 6.387 GB, free: 245.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001252/10.77, allocations: 0.5297 MB / 6.387 GB, free: 245.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/10.77, allocations: 0.5311 MB / 6.388 GB, free: 244.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/10.77, allocations: 0 / 6.388 GB, free: 244.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/10.77, allocations: 3.984 kB / 6.388 GB, free: 244.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/10.77, allocations: 29.25 kB / 6.388 GB, free: 244.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003957/10.77, allocations: 2.818 MB / 6.391 GB, free: 241.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/10.78, allocations: 423.4 kB / 6.391 GB, free: 241.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/10.78, allocations: 243 kB / 6.391 GB, free: 241.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/10.78, allocations: 95.34 kB / 6.391 GB, free: 241 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/10.78, allocations: 46.5 kB / 6.391 GB, free: 240.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 2.644e-06/10.78, allocations: 0 / 6.391 GB, free: 240.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.007841/10.78, allocations: 2.504 MB / 6.394 GB, free: 238.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/10.78, allocations: 63.91 kB / 6.394 GB, free: 238.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005858/10.78, allocations: 482.4 kB / 6.394 GB, free: 237.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/10.78, allocations: 25.7 kB / 6.394 GB, free: 237.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/10.78, allocations: 268.2 kB / 6.395 GB, free: 237.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/10.78, allocations: 220.7 kB / 6.395 GB, free: 237.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/10.78, allocations: 0 / 6.395 GB, free: 237.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001278/10.78, allocations: 374.8 kB / 6.395 GB, free: 236.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/10.79, allocations: 257.2 kB / 6.396 GB, free: 236.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/10.79, allocations: 354.3 kB / 6.396 GB, free: 236.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.005271/10.79, allocations: 1.399 MB / 6.397 GB, free: 234.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/10.79, allocations: 0 / 6.397 GB, free: 234.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002346/10.79, allocations: 1.023 MB / 6.398 GB, free: 233.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/10.79, allocations: 0.6071 MB / 6.399 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/10.79, allocations: 0 / 6.399 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/10.8, allocations: 434.8 kB / 6.399 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/10.8, allocations: 87.89 kB / 6.399 GB, free: 232.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00599/10.8, allocations: 4.376 MB / 6.404 GB, free: 228.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009619/10.8, allocations: 55.8 kB / 6.404 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/10.8, allocations: 27.98 kB / 6.404 GB, free: 228.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/10.8, allocations: 4 kB / 6.404 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002175/10.8, allocations: 0.9123 MB / 6.405 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/10.8, allocations: 4 kB / 6.405 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/10.81, allocations: 433.6 kB / 6.405 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/10.81, allocations: 75.84 kB / 6.405 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00542/10.81, allocations: 3.798 MB / 6.409 GB, free: 222.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009149/10.81, allocations: 51.86 kB / 6.409 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/10.81, allocations: 20 kB / 6.409 GB, free: 222.7 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.0003225/10.81, allocations: 125.9 kB / 6.409 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/10.81, allocations: 83.05 kB / 6.409 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/10.82, allocations: 1.011 MB / 6.41 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/10.82, allocations: 8.094 kB / 6.41 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/10.82, allocations: 0 / 6.41 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002155/10.82, allocations: 1.225 MB / 6.411 GB, free: 220.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004181/10.82, allocations: 2.17 MB / 6.413 GB, free: 217.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/10.82, allocations: 4 kB / 6.413 GB, free: 217.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/10.82, allocations: 63.91 kB / 6.413 GB, free: 217.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/10.82, allocations: 444.5 kB / 6.414 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.27e-05/10.82, allocations: 23.89 kB / 6.414 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005713/10.83, allocations: 4.313 MB / 6.418 GB, free: 213 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/10.83, allocations: 4 kB / 6.418 GB, free: 213 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002878/10.83, allocations: 1.457 MB / 6.42 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005782/10.83, allocations: 240.1 kB / 6.42 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/10.83, allocations: 19.98 kB / 6.42 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009471/10.84, allocations: 43.81 kB / 6.42 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/10.84, allocations: 32.44 kB / 6.42 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/10.84, allocations: 23.98 kB / 6.42 GB, free: 211.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005398/10.84, allocations: 366.9 kB / 6.42 GB, free: 210.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002922/10.84, allocations: 0.5547 MB / 6.421 GB, free: 210.2 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.002348/10.84, allocations: 1.384 MB / 6.422 GB, free: 208.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003027/10.84, allocations: 1.415 MB / 6.423 GB, free: 207.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/10.84, allocations: 0 / 6.423 GB, free: 207.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/10.85, allocations: 0.5252 MB / 6.424 GB, free: 207 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/10.85, allocations: 422.9 kB / 6.424 GB, free: 206.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/10.85, allocations: 1.52 MB / 6.426 GB, free: 205 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000851/10.85, allocations: 1.102 MB / 6.427 GB, free: 203.9 MB / 1.151 GB Notification: Performance of SimCode: time 6.41e-07/10.85, allocations: 0 / 6.427 GB, free: 203.9 MB / 1.151 GB Notification: Performance of Templates: time 0.04977/10.9, allocations: 30.94 MB / 6.457 GB, free: 173.2 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