Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.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.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") [: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.986/1.986, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001147/0.001147, allocations: 179 kB / 490.8 MB, free: 1.941 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.54/1.54, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.0009061/0.000906, allocations: 100.6 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.488e-06/9.728e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3292, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.055/2.384, allocations: 0.8139 GB / 2.025 GB, free: 147 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/2.384, allocations: 86.08 kB / 2.026 GB, free: 147 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.701/5.086, allocations: 0.9107 GB / 2.936 GB, free: 126 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.443e-05/5.086, allocations: 26.97 kB / 2.936 GB, free: 126 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002677/5.088, allocations: 1.295 MB / 2.938 GB, free: 124.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/5.088, allocations: 8.031 kB / 2.938 GB, free: 124.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/5.091, allocations: 495.5 kB / 2.938 GB, free: 124.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/5.092, allocations: 0.9931 MB / 2.939 GB, free: 123.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/5.092, allocations: 24 kB / 2.939 GB, free: 123.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/5.092, allocations: 52 kB / 2.939 GB, free: 123 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001126/5.094, allocations: 0.902 MB / 2.94 GB, free: 122.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/5.095, allocations: 0.8976 MB / 2.941 GB, free: 121.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/5.095, allocations: 3.938 kB / 2.941 GB, free: 121.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/5.095, allocations: 0 / 2.941 GB, free: 121.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/5.095, allocations: 37.98 kB / 2.941 GB, free: 121.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003629/5.099, allocations: 3.571 MB / 2.944 GB, free: 117.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/5.099, allocations: 0.6241 MB / 2.945 GB, free: 116.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004163/5.1, allocations: 432.2 kB / 2.945 GB, free: 116.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/5.1, allocations: 210.1 kB / 2.946 GB, free: 116.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/5.1, allocations: 39.06 kB / 2.946 GB, free: 116.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 2.555e-06/5.1, allocations: 0 / 2.946 GB, free: 116.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.002152/5.102, allocations: 0.9653 MB / 2.947 GB, free: 115.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/5.102, allocations: 55.91 kB / 2.947 GB, free: 115.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/5.103, allocations: 474.3 kB / 2.947 GB, free: 114.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/5.103, allocations: 25.7 kB / 2.947 GB, free: 114.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/5.103, allocations: 327.8 kB / 2.947 GB, free: 114.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/5.103, allocations: 212.8 kB / 2.948 GB, free: 114 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/5.103, allocations: 0 / 2.948 GB, free: 114 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/5.103, allocations: 382.7 kB / 2.948 GB, free: 113.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/5.103, allocations: 301.2 kB / 2.948 GB, free: 113.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/5.104, allocations: 397.5 kB / 2.949 GB, free: 112.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008267/5.105, allocations: 490.8 kB / 2.949 GB, free: 112.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/5.105, allocations: 0 / 2.949 GB, free: 112.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001287/5.106, allocations: 0.9245 MB / 2.95 GB, free: 111.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.878e-05/5.106, allocations: 451.7 kB / 2.95 GB, free: 111.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/5.106, allocations: 0 / 2.95 GB, free: 111.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/5.106, allocations: 4 kB / 2.95 GB, free: 111.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/5.107, allocations: 143.7 kB / 2.951 GB, free: 110.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002771/5.107, allocations: 0.6055 MB / 2.951 GB, free: 110.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/5.108, allocations: 111.5 kB / 2.951 GB, free: 110.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/5.108, allocations: 31.98 kB / 2.951 GB, free: 110.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.531e-06/5.108, allocations: 4 kB / 2.951 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001207/5.109, allocations: 0.8143 MB / 2.952 GB, free: 109.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/5.109, allocations: 4 kB / 2.952 GB, free: 109.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-06/5.109, allocations: 4 kB / 2.952 GB, free: 109.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/5.109, allocations: 127.9 kB / 2.952 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/5.109, allocations: 11.91 kB / 2.952 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/5.11, allocations: 111.5 kB / 2.952 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/5.11, allocations: 32 kB / 2.952 GB, free: 109 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * 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): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001099/5.11, allocations: 112.9 kB / 2.953 GB, free: 108.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/5.11, allocations: 75.14 kB / 2.953 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/5.112, allocations: 0.9526 MB / 2.954 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/5.112, allocations: 8 kB / 2.954 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/5.112, allocations: 4.062 kB / 2.954 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00119/5.113, allocations: 0.9059 MB / 2.954 GB, free: 106.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/5.116, allocations: 2.512 MB / 2.957 GB, free: 104.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/5.116, allocations: 4 kB / 2.957 GB, free: 104.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/5.117, allocations: 135.8 kB / 2.957 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001301/5.117, allocations: 41.28 kB / 2.957 GB, free: 104.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/5.117, allocations: 31.83 kB / 2.957 GB, free: 104.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004254/5.117, allocations: 1.197 MB / 2.958 GB, free: 102.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/5.117, allocations: 8.062 kB / 2.958 GB, free: 102.8 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001651/5.119, allocations: 1.61 MB / 2.96 GB, free: 101.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/5.119, allocations: 248 kB / 2.96 GB, free: 100.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/5.119, allocations: 15.98 kB / 2.96 GB, free: 100.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/5.12, allocations: 63.78 kB / 2.96 GB, free: 100.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/5.12, allocations: 48.28 kB / 2.96 GB, free: 100.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/5.12, allocations: 35.98 kB / 2.96 GB, free: 100.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0002999/5.12, allocations: 366.9 kB / 2.961 GB, free: 100.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001735/5.122, allocations: 0.7989 MB / 2.961 GB, free: 99.51 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.Xi[2],vol.dynBal.medium.Xi[3],vol.dynBal.medium.Xi[4],vol.dynBal.medium.Xi[5],vol.dynBal.medium.Xi[6],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002242/5.124, allocations: 1.492 MB / 2.963 GB, free: 98.18 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001427/5.126, allocations: 1.159 MB / 2.964 GB, free: 97.02 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/5.126, allocations: 4 kB / 2.964 GB, free: 97.01 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004878/5.126, allocations: 406.7 kB / 2.964 GB, free: 96.62 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/5.128, allocations: 419 kB / 2.965 GB, free: 96.21 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/5.131, allocations: 1.946 MB / 2.967 GB, free: 94.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006879/5.132, allocations: 1.201 MB / 2.968 GB, free: 92.96 MB / 1.167 GB Notification: Performance of SimCode: time 3.31e-07/5.132, allocations: 0 / 2.968 GB, free: 92.96 MB / 1.167 GB Notification: Performance of Templates: time 0.03728/5.169, allocations: 27.31 MB / 2.994 GB, free: 65.87 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches