Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") [: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.192/1.192, allocations: 249.4 MB / 256.7 MB, free: 7 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.0009786/0.0009786, allocations: 184.8 kB / 316 MB, free: 3.535 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.095/1.095, 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.0008712/0.0008711, allocations: 94.89 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.763e-06/6.783e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1592, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.392/4.551, allocations: 2.443 GB / 3.327 GB, free: 314.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/4.551, allocations: 96.95 kB / 3.328 GB, free: 314.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.84/6.391, allocations: 0.6873 GB / 4.015 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000102/6.392, allocations: 40.58 kB / 4.015 GB, free: 195.8 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: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.00239/6.394, allocations: 1.551 MB / 4.016 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/6.394, allocations: 11.12 kB / 4.016 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002929/6.397, allocations: 0.507 MB / 4.017 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/6.399, allocations: 1.374 MB / 4.018 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/6.399, allocations: 31.41 kB / 4.018 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/6.4, allocations: 71.5 kB / 4.018 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001669/6.401, allocations: 1.244 MB / 4.02 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/6.403, allocations: 1.211 MB / 4.021 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/6.403, allocations: 7.094 kB / 4.021 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/6.403, allocations: 3.062 kB / 4.021 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/6.403, allocations: 43.11 kB / 4.021 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005238/6.408, allocations: 4.961 MB / 4.026 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009856/6.409, allocations: 0.9961 MB / 4.027 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/6.41, allocations: 0.5942 MB / 4.027 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/6.41, allocations: 204.6 kB / 4.027 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/6.41, allocations: 42.28 kB / 4.027 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=81): time 3.116e-06/6.41, allocations: 0 / 4.027 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84): time 0.004435/6.415, allocations: 2.628 MB / 4.03 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/6.415, allocations: 63.41 kB / 4.03 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/6.415, allocations: 0.7946 MB / 4.031 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/6.415, allocations: 29.48 kB / 4.031 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/6.416, allocations: 420.7 kB / 4.031 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/6.416, allocations: 284.4 kB / 4.032 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/6.416, allocations: 0 / 4.032 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.281e-05/6.416, allocations: 342.7 kB / 4.032 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/6.416, allocations: 445.1 kB / 4.032 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/6.417, allocations: 0.5929 MB / 4.033 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/6.417, allocations: 0.5595 MB / 4.033 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/6.417, allocations: 0.5625 kB / 4.033 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001327/6.419, allocations: 1.219 MB / 4.035 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/6.419, allocations: 0.7904 MB / 4.035 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/6.419, allocations: 3.969 kB / 4.035 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001973/6.419, allocations: 68.81 kB / 4.035 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009384/6.42, allocations: 185.6 kB / 4.036 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/6.422, allocations: 2.91 MB / 4.038 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/6.423, allocations: 109.7 kB / 4.039 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/6.423, allocations: 28.53 kB / 4.039 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-06/6.423, allocations: 6.75 kB / 4.039 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001209/6.424, allocations: 1.074 MB / 4.04 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/6.424, allocations: 7.5 kB / 4.04 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/6.424, allocations: 69.72 kB / 4.04 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/6.425, allocations: 169 kB / 4.04 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/6.426, allocations: 1.711 MB / 4.042 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/6.427, allocations: 108.9 kB / 4.042 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/6.427, allocations: 38.86 kB / 4.042 GB, free: 186.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001743/6.427, allocations: 118 kB / 4.042 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/6.427, allocations: 110.6 kB / 4.042 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/6.429, allocations: 1.186 MB / 4.043 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/6.429, allocations: 7.781 kB / 4.043 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/6.429, allocations: 3.844 kB / 4.043 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/6.43, allocations: 1.26 MB / 4.044 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/6.433, allocations: 2.724 MB / 4.047 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/6.433, allocations: 3.844 kB / 4.047 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/6.434, allocations: 233.7 kB / 4.047 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/6.435, allocations: 73.11 kB / 4.047 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/6.435, allocations: 10.41 kB / 4.047 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/6.436, allocations: 2.91 MB / 4.05 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/6.436, allocations: 7.219 kB / 4.05 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001848/6.438, allocations: 2.083 MB / 4.052 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000514/6.438, allocations: 343 kB / 4.053 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/6.439, allocations: 14.66 kB / 4.053 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009766/6.44, allocations: 97.36 kB / 4.053 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/6.44, allocations: 48.77 kB / 4.053 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/6.44, allocations: 35.31 kB / 4.053 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005669/6.44, allocations: 0.6301 MB / 4.053 GB, free: 182 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001806/6.442, allocations: 0.7369 MB / 4.054 GB, free: 182 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001476/6.444, allocations: 1.529 MB / 4.056 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002258/6.446, allocations: 1.888 MB / 4.057 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/6.446, allocations: 0 / 4.057 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006803/6.447, allocations: 0.6631 MB / 4.058 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/6.449, allocations: 0.7085 MB / 4.059 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/6.453, allocations: 2.721 MB / 4.061 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009729/6.454, allocations: 1.586 MB / 4.063 GB, free: 180 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/6.454, allocations: 3.469 kB / 4.063 GB, free: 180 MB / 0.8698 GB Notification: Performance of Templates: time 0.05431/6.508, allocations: 37.92 MB / 4.1 GB, free: 178.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches