Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.BaseClasses.Validation.MixingVolumeHeatPortAir,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_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,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_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") [: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 1.979/1.979, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.0009902/0.0009902, allocations: 176 kB / 490.8 MB, free: 1.973 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.399/1.399, allocations: 221.3 MB / 0.7863 GB, free: 13.82 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.0008539/0.0008539, allocations: 94.38 kB / 0.9264 GB, free: 14.35 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.546e-06, allocations: 4 kB / 1.072 GB, free: 164.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3034, allocations: 143 MB / 1.212 GB, free: 21.96 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.983/5.287, allocations: 2.166 GB / 3.378 GB, free: 112.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/5.287, allocations: 87.95 kB / 3.378 GB, free: 112.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.434/6.721, allocations: 488.7 MB / 3.855 GB, free: 77.52 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.869e-05/6.721, allocations: 39.98 kB / 3.855 GB, free: 77.48 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002603/6.724, allocations: 1.484 MB / 3.856 GB, free: 75.95 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/6.724, allocations: 16.02 kB / 3.856 GB, free: 75.93 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/6.727, allocations: 0.5054 MB / 3.857 GB, free: 75.42 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/6.729, allocations: 1.37 MB / 3.858 GB, free: 74.01 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/6.729, allocations: 32 kB / 3.858 GB, free: 73.98 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/6.73, allocations: 64 kB / 3.858 GB, free: 73.91 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/6.731, allocations: 1.183 MB / 3.86 GB, free: 72.73 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/6.733, allocations: 1.139 MB / 3.861 GB, free: 71.58 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/6.733, allocations: 0 / 3.861 GB, free: 71.58 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.892e-05/6.733, allocations: 4 kB / 3.861 GB, free: 71.58 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/6.733, allocations: 37.98 kB / 3.861 GB, free: 71.54 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005312/6.738, allocations: 4.999 MB / 3.866 GB, free: 66.19 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009248/6.739, allocations: 0.9153 MB / 3.866 GB, free: 65.27 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/6.74, allocations: 0.5714 MB / 3.867 GB, free: 64.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/6.74, allocations: 210.8 kB / 3.867 GB, free: 64.45 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/6.74, allocations: 39.22 kB / 3.867 GB, free: 64.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 2.344e-06/6.74, allocations: 0 / 3.867 GB, free: 64.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=81): time 0.004596/6.745, allocations: 2.561 MB / 3.87 GB, free: 61.78 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/6.745, allocations: 64.05 kB / 3.87 GB, free: 61.71 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007989/6.746, allocations: 0.7868 MB / 3.871 GB, free: 60.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/6.746, allocations: 29.7 kB / 3.871 GB, free: 60.86 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/6.746, allocations: 387.9 kB / 3.871 GB, free: 60.48 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/6.746, allocations: 283.8 kB / 3.871 GB, free: 60.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/6.746, allocations: 0 / 3.871 GB, free: 60.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.938e-05/6.746, allocations: 337.9 kB / 3.872 GB, free: 59.86 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/6.747, allocations: 437.3 kB / 3.872 GB, free: 59.43 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/6.747, allocations: 0.5965 MB / 3.873 GB, free: 58.78 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005792/6.748, allocations: 0.5547 MB / 3.873 GB, free: 58.23 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/6.748, allocations: 0 / 3.873 GB, free: 58.23 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001405/6.749, allocations: 1.205 MB / 3.874 GB, free: 57.01 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/6.749, allocations: 1.054 MB / 3.875 GB, free: 55.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/6.749, allocations: 11.94 kB / 3.875 GB, free: 55.87 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/6.75, allocations: 76.66 kB / 3.875 GB, free: 55.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009917/6.751, allocations: 187.8 kB / 3.876 GB, free: 55.61 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/6.752, allocations: 2.908 MB / 3.878 GB, free: 52.53 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/6.754, allocations: 119.8 kB / 3.879 GB, free: 52.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-05/6.754, allocations: 32.06 kB / 3.879 GB, free: 52.38 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/6.754, allocations: 4 kB / 3.879 GB, free: 52.38 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001307/6.755, allocations: 1.071 MB / 3.88 GB, free: 51.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/6.755, allocations: 4 kB / 3.88 GB, free: 51.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/6.755, allocations: 72.81 kB / 3.88 GB, free: 51.22 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/6.756, allocations: 168.1 kB / 3.88 GB, free: 51.06 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/6.757, allocations: 1.728 MB / 3.882 GB, free: 49.22 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/6.759, allocations: 111.7 kB / 3.882 GB, free: 49.11 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/6.759, allocations: 32.25 kB / 3.882 GB, free: 49.08 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0002331/6.759, allocations: 116.8 kB / 3.882 GB, free: 48.96 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/6.759, allocations: 110.7 kB / 3.882 GB, free: 48.85 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/6.761, allocations: 1.167 MB / 3.883 GB, free: 47.66 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/6.761, allocations: 12 kB / 3.883 GB, free: 47.65 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/6.761, allocations: 3.984 kB / 3.883 GB, free: 47.65 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/6.762, allocations: 1.22 MB / 3.884 GB, free: 46.36 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003546/6.766, allocations: 2.649 MB / 3.887 GB, free: 43.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/6.766, allocations: 8.031 kB / 3.887 GB, free: 43.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/6.767, allocations: 215.7 kB / 3.887 GB, free: 43.42 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/6.767, allocations: 76.75 kB / 3.887 GB, free: 43.34 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/6.767, allocations: 11.98 kB / 3.887 GB, free: 43.33 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/6.769, allocations: 2.908 MB / 3.89 GB, free: 40.26 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/6.769, allocations: 0 / 3.89 GB, free: 40.26 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001943/6.77, allocations: 1.921 MB / 3.892 GB, free: 38.25 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006438/6.771, allocations: 327.6 kB / 3.892 GB, free: 37.91 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/6.771, allocations: 19.98 kB / 3.892 GB, free: 37.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/6.772, allocations: 87.66 kB / 3.892 GB, free: 37.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/6.772, allocations: 40.59 kB / 3.892 GB, free: 37.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/6.772, allocations: 39.92 kB / 3.892 GB, free: 37.73 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006841/6.773, allocations: 0.6206 MB / 3.893 GB, free: 37.09 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002034/6.775, allocations: 0.7226 MB / 3.894 GB, free: 36.37 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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.001697/6.777, allocations: 1.505 MB / 3.895 GB, free: 34.82 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002637/6.78, allocations: 1.867 MB / 3.897 GB, free: 32.93 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/6.78, allocations: 8.062 kB / 3.897 GB, free: 32.92 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007476/6.78, allocations: 0.6444 MB / 3.898 GB, free: 32.27 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/6.784, allocations: 0.7127 MB / 3.898 GB, free: 31.56 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/6.788, allocations: 2.654 MB / 3.901 GB, free: 28.84 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009864/6.789, allocations: 1.547 MB / 3.902 GB, free: 27.26 MB / 1.151 GB Notification: Performance of SimCode: time 7.91e-07/6.789, allocations: 0 / 3.902 GB, free: 27.26 MB / 1.151 GB Notification: Performance of Templates: time 0.462/7.251, allocations: 37.39 MB / 3.939 GB, free: 413.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches