Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,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_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,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_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") [: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.075/2.075, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001055/0.001055, allocations: 181.3 kB / 487 MB, free: 5.371 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.487/1.487, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0009747/0.0009746, allocations: 101.4 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.654e-06, allocations: 0 / 1.066 GB, free: 167.4 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2973, allocations: 142.3 MB / 1.205 GB, free: 25.34 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.474, allocations: 411.9 MB / 1.607 GB, free: 9.816 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000372/1.474, allocations: 97.25 kB / 1.608 GB, free: 9.766 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.365/2.84, allocations: 248.3 MB / 1.85 GB, free: 315.1 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.00021/2.84, allocations: 38.83 kB / 1.85 GB, free: 315.1 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003545/2.844, allocations: 1.185 MB / 1.851 GB, free: 313.9 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/2.844, allocations: 12.02 kB / 1.851 GB, free: 313.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/2.845, allocations: 138.5 kB / 1.851 GB, free: 313.7 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0194/2.864, allocations: 7.818 MB / 1.859 GB, free: 305.9 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/2.864, allocations: 23.94 kB / 1.859 GB, free: 305.9 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/2.865, allocations: 51.91 kB / 1.859 GB, free: 305.8 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001589/2.866, allocations: 0.6559 MB / 1.86 GB, free: 305.2 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/2.868, allocations: 0.8693 MB / 1.861 GB, free: 304.3 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/2.868, allocations: 4 kB / 1.861 GB, free: 304.3 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/2.868, allocations: 0 / 1.861 GB, free: 304.3 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.183e-05/2.868, allocations: 24 kB / 1.861 GB, free: 304.2 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00645/2.875, allocations: 4.507 MB / 1.865 GB, free: 299.4 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/2.875, allocations: 311.2 kB / 1.865 GB, free: 299.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/2.875, allocations: 253.4 kB / 1.866 GB, free: 298.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004141/2.876, allocations: 433 kB / 1.866 GB, free: 298.4 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/2.876, allocations: 42.83 kB / 1.866 GB, free: 298.3 MB / 1.135 GB Notification: Performance of pre-optimization done (n=40): time 3.587e-06/2.876, allocations: 0 / 1.866 GB, free: 298.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=40): time 0.001536/2.877, allocations: 0.5557 MB / 1.867 GB, free: 297.8 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/2.878, allocations: 59.41 kB / 1.867 GB, free: 297.7 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/2.879, allocations: 0.7974 MB / 1.867 GB, free: 296.9 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 9.366e-05/2.879, allocations: 29.7 kB / 1.867 GB, free: 296.9 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/2.879, allocations: 384 kB / 1.868 GB, free: 296.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/2.879, allocations: 138 kB / 1.868 GB, free: 296.3 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/2.879, allocations: 0 / 1.868 GB, free: 296.3 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 9.424e-05/2.879, allocations: 330 kB / 1.868 GB, free: 296 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/2.88, allocations: 217.2 kB / 1.868 GB, free: 295.8 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/2.88, allocations: 428.6 kB / 1.869 GB, free: 295.3 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005472/2.881, allocations: 325.2 kB / 1.869 GB, free: 295 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/2.881, allocations: 4 kB / 1.869 GB, free: 295 MB / 1.135 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001395/2.882, allocations: 0.7503 MB / 1.87 GB, free: 294.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006499/2.883, allocations: 2.183 MB / 1.872 GB, free: 291.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/2.883, allocations: 4 kB / 1.872 GB, free: 291.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/2.883, allocations: 65.98 kB / 1.872 GB, free: 291.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/2.883, allocations: 111.8 kB / 1.872 GB, free: 291.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004782/2.884, allocations: 0.6398 MB / 1.873 GB, free: 291 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/2.885, allocations: 87.39 kB / 1.873 GB, free: 290.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/2.885, allocations: 31.98 kB / 1.873 GB, free: 290.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/2.885, allocations: 8 kB / 1.873 GB, free: 290.9 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001015/2.886, allocations: 0.6145 MB / 1.874 GB, free: 290.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/2.886, allocations: 8 kB / 1.874 GB, free: 290.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/2.886, allocations: 68.73 kB / 1.874 GB, free: 290.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/2.887, allocations: 107.8 kB / 1.874 GB, free: 290.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/2.888, allocations: 1.589 MB / 1.875 GB, free: 288.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009045/2.889, allocations: 83.48 kB / 1.875 GB, free: 288.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/2.889, allocations: 27.98 kB / 1.875 GB, free: 288.3 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.000198/2.889, allocations: 131.5 kB / 1.875 GB, free: 288.1 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/2.89, allocations: 86.97 kB / 1.876 GB, free: 288.1 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/2.891, allocations: 0.6258 MB / 1.876 GB, free: 287.4 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/2.891, allocations: 11.89 kB / 1.876 GB, free: 287.4 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/2.891, allocations: 0 / 1.876 GB, free: 287.4 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007707/2.892, allocations: 0.7992 MB / 1.877 GB, free: 286.5 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/2.894, allocations: 1.57 MB / 1.879 GB, free: 284.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/2.894, allocations: 3.906 kB / 1.879 GB, free: 284.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/2.895, allocations: 88.02 kB / 1.879 GB, free: 284.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.077e-05/2.895, allocations: 28.84 kB / 1.879 GB, free: 284.8 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/2.895, allocations: 4 kB / 1.879 GB, free: 284.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002647/2.895, allocations: 0.5718 MB / 1.879 GB, free: 284.2 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/2.895, allocations: 4.062 kB / 1.879 GB, free: 284.2 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001155/2.896, allocations: 0.9965 MB / 1.88 GB, free: 283.1 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005018/2.897, allocations: 263.8 kB / 1.88 GB, free: 282.8 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/2.897, allocations: 3.984 kB / 1.88 GB, free: 282.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/2.898, allocations: 55.8 kB / 1.88 GB, free: 282.8 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/2.898, allocations: 35.7 kB / 1.881 GB, free: 282.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/2.898, allocations: 19.98 kB / 1.881 GB, free: 282.7 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0007283/2.898, allocations: 0.6201 MB / 1.881 GB, free: 282.1 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002062/2.901, allocations: 0.5688 MB / 1.882 GB, free: 281.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009054/2.901, allocations: 397 kB / 1.882 GB, free: 281.2 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001307/2.903, allocations: 0.9696 MB / 1.883 GB, free: 280.2 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/2.903, allocations: 8 kB / 1.883 GB, free: 280.2 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0002697/2.903, allocations: 232.4 kB / 1.883 GB, free: 280 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/2.905, allocations: 0.5209 MB / 1.884 GB, free: 279.4 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/2.908, allocations: 1.654 MB / 1.885 GB, free: 277.7 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007148/2.909, allocations: 1.326 MB / 1.887 GB, free: 276.4 MB / 1.135 GB Notification: Performance of SimCode: time 1.012e-06/2.909, allocations: 0 / 1.887 GB, free: 276.4 MB / 1.135 GB Notification: Performance of Templates: time 0.03146/2.94, allocations: 21.67 MB / 1.908 GB, free: 254.9 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches