Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.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.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.997/1.997, allocations: 387.2 MB / 394.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 191.8 kB / 487 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 221.3 MB / 0.7819 GB, free: 6.828 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009375/0.0009369, allocations: 105.5 kB / 0.9213 GB, free: 43.71 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 9.407e-06/9.447e-06, allocations: 4 kB / 1.066 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9333/0.9334, allocations: 142.3 MB / 1.205 GB, free: 72.79 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.093/3.027, allocations: 0.8131 GB / 2.018 GB, free: 429.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/3.027, allocations: 87.95 kB / 2.018 GB, free: 429.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.845/5.872, allocations: 0.9107 GB / 2.929 GB, free: 287.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.405e-05/5.872, allocations: 27.41 kB / 2.929 GB, free: 287.4 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.003118/5.875, allocations: 1.285 MB / 2.93 GB, free: 287.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/5.875, allocations: 12.38 kB / 2.93 GB, free: 287.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/5.878, allocations: 490.1 kB / 2.931 GB, free: 287 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/5.879, allocations: 0.9929 MB / 2.932 GB, free: 286.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/5.879, allocations: 26.47 kB / 2.932 GB, free: 286.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/5.879, allocations: 53.06 kB / 2.932 GB, free: 286.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001196/5.881, allocations: 0.9025 MB / 2.933 GB, free: 286.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/5.882, allocations: 0.906 MB / 2.934 GB, free: 286.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/5.882, allocations: 0 / 2.934 GB, free: 286.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/5.882, allocations: 3.5 kB / 2.934 GB, free: 286.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/5.882, allocations: 35.92 kB / 2.934 GB, free: 286.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00401/5.886, allocations: 3.567 MB / 2.937 GB, free: 285.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007367/5.887, allocations: 0.617 MB / 2.938 GB, free: 285.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/5.887, allocations: 432.9 kB / 2.938 GB, free: 285.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/5.888, allocations: 208.1 kB / 2.938 GB, free: 285 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/5.888, allocations: 46.59 kB / 2.938 GB, free: 285 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 3.236e-06/5.888, allocations: 3.438 kB / 2.938 GB, free: 285 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.002234/5.89, allocations: 0.9606 MB / 2.939 GB, free: 284.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/5.89, allocations: 59.53 kB / 2.939 GB, free: 284.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/5.89, allocations: 469.3 kB / 2.94 GB, free: 284.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/5.89, allocations: 29.33 kB / 2.94 GB, free: 284.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/5.891, allocations: 329.2 kB / 2.94 GB, free: 284.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/5.891, allocations: 214.2 kB / 2.94 GB, free: 284.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/5.891, allocations: 0 / 2.94 GB, free: 284.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001038/5.891, allocations: 384.2 kB / 2.941 GB, free: 284.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/5.891, allocations: 292.4 kB / 2.941 GB, free: 284.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/5.892, allocations: 402.9 kB / 2.942 GB, free: 284 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008747/5.893, allocations: 487.6 kB / 2.942 GB, free: 284 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/5.893, allocations: 2.844 kB / 2.942 GB, free: 284 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001384/5.894, allocations: 0.9168 MB / 2.943 GB, free: 284 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/5.894, allocations: 457.7 kB / 2.943 GB, free: 283.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/5.894, allocations: 3.719 kB / 2.943 GB, free: 283.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/5.894, allocations: 3.844 kB / 2.943 GB, free: 283.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/5.895, allocations: 146.4 kB / 2.943 GB, free: 283.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003098/5.895, allocations: 0.6015 MB / 2.944 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007991/5.896, allocations: 112.2 kB / 2.944 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/5.896, allocations: 34.17 kB / 2.944 GB, free: 282.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/5.896, allocations: 7.25 kB / 2.944 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001311/5.897, allocations: 0.8174 MB / 2.945 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/5.897, allocations: 0 / 2.945 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/5.897, allocations: 3.688 kB / 2.945 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/5.898, allocations: 131.8 kB / 2.945 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/5.898, allocations: 9.562 kB / 2.945 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007902/5.899, allocations: 115.7 kB / 2.945 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/5.899, allocations: 28.88 kB / 2.945 GB, free: 282.9 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.0001908/5.899, allocations: 117.8 kB / 2.945 GB, free: 282.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/5.899, allocations: 75.47 kB / 2.945 GB, free: 282.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/5.901, allocations: 0.9585 MB / 2.946 GB, free: 282.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/5.901, allocations: 3.969 kB / 2.946 GB, free: 282.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/5.901, allocations: 0 / 2.946 GB, free: 282.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001302/5.902, allocations: 0.9138 MB / 2.947 GB, free: 282.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/5.906, allocations: 2.512 MB / 2.95 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/5.906, allocations: 3.938 kB / 2.95 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/5.906, allocations: 139.5 kB / 2.95 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001522/5.906, allocations: 42.39 kB / 2.95 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/5.907, allocations: 21.44 kB / 2.95 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004945/5.907, allocations: 1.202 MB / 2.951 GB, free: 280.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/5.907, allocations: 6.844 kB / 2.951 GB, free: 280.8 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001882/5.909, allocations: 1.599 MB / 2.953 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/5.909, allocations: 251.2 kB / 2.953 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/5.91, allocations: 14.44 kB / 2.953 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006827/5.91, allocations: 64.62 kB / 2.953 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/5.91, allocations: 42.75 kB / 2.953 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/5.91, allocations: 32.22 kB / 2.953 GB, free: 280.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0003634/5.911, allocations: 369.1 kB / 2.953 GB, free: 280 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002055/5.913, allocations: 0.8131 MB / 2.954 GB, free: 280 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.002356/5.915, allocations: 1.477 MB / 2.956 GB, free: 279.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001574/5.917, allocations: 1.169 MB / 2.957 GB, free: 279.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/5.917, allocations: 0 / 2.957 GB, free: 279.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000498/5.917, allocations: 406.1 kB / 2.957 GB, free: 279.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/5.919, allocations: 412.8 kB / 2.958 GB, free: 279.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/5.922, allocations: 1.956 MB / 2.959 GB, free: 279.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007953/5.923, allocations: 1.203 MB / 2.961 GB, free: 278.6 MB / 1.167 GB Notification: Performance of SimCode: time 5.51e-07/5.923, allocations: 0.5312 kB / 2.961 GB, free: 278.6 MB / 1.167 GB Notification: Performance of Templates: time 0.04044/5.963, allocations: 27.31 MB / 2.987 GB, free: 278.2 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches