Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.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.MSLCombustionAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir") [: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.118/2.118, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001143/0.001143, allocations: 187.8 kB / 487 MB, free: 5.367 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.575/1.575, allocations: 221.3 MB / 0.7819 GB, free: 1.414 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.001114/0.001114, allocations: 101.5 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.634e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3049, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.117/2.422, allocations: 0.8011 GB / 2.006 GB, free: 155.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/2.422, allocations: 86.2 kB / 2.006 GB, free: 155.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.431/3.853, allocations: 466.8 MB / 2.462 GB, free: 155 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.479e-05/3.853, allocations: 19.98 kB / 2.462 GB, free: 155 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002253/3.855, allocations: 1.033 MB / 2.463 GB, free: 153.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/3.855, allocations: 8.031 kB / 2.463 GB, free: 153.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/3.857, allocations: 266.8 kB / 2.463 GB, free: 153.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/3.858, allocations: 0.6574 MB / 2.464 GB, free: 152.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/3.858, allocations: 19.94 kB / 2.464 GB, free: 152.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/3.858, allocations: 28 kB / 2.464 GB, free: 152.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006207/3.859, allocations: 429.8 kB / 2.465 GB, free: 152.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/3.86, allocations: 0.5001 MB / 2.465 GB, free: 151.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/3.86, allocations: 3.984 kB / 2.465 GB, free: 151.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/3.86, allocations: 4 kB / 2.465 GB, free: 151.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/3.86, allocations: 17 kB / 2.465 GB, free: 151.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/3.862, allocations: 2.203 MB / 2.467 GB, free: 149.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/3.862, allocations: 323.4 kB / 2.468 GB, free: 149.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/3.862, allocations: 197.3 kB / 2.468 GB, free: 149.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/3.863, allocations: 190.5 kB / 2.468 GB, free: 148.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/3.863, allocations: 34.84 kB / 2.468 GB, free: 148.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/3.863, allocations: 4 kB / 2.468 GB, free: 148.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=34): time 0.001495/3.864, allocations: 0.5197 MB / 2.468 GB, free: 148.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/3.864, allocations: 55.41 kB / 2.469 GB, free: 148.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/3.865, allocations: 337.2 kB / 2.469 GB, free: 147.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/3.865, allocations: 25.7 kB / 2.469 GB, free: 147.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/3.865, allocations: 240.5 kB / 2.469 GB, free: 147.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.513e-05/3.865, allocations: 122.2 kB / 2.469 GB, free: 147.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/3.865, allocations: 0 / 2.469 GB, free: 147.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.648e-05/3.865, allocations: 354.8 kB / 2.47 GB, free: 147.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/3.865, allocations: 135.9 kB / 2.47 GB, free: 147 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/3.865, allocations: 215.5 kB / 2.47 GB, free: 146.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/3.866, allocations: 259.3 kB / 2.47 GB, free: 146.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/3.866, allocations: 3.938 kB / 2.47 GB, free: 146.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008968/3.867, allocations: 0.4966 MB / 2.471 GB, free: 146 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/3.867, allocations: 449 kB / 2.471 GB, free: 145.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/3.867, allocations: 4 kB / 2.471 GB, free: 145.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/3.867, allocations: 4 kB / 2.471 GB, free: 145.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/3.867, allocations: 91.86 kB / 2.471 GB, free: 145.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003021/3.868, allocations: 0.5976 MB / 2.472 GB, free: 144.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/3.868, allocations: 51.92 kB / 2.472 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/3.868, allocations: 31.83 kB / 2.472 GB, free: 144.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-06/3.868, allocations: 4 kB / 2.472 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007769/3.869, allocations: 427.5 kB / 2.472 GB, free: 144.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-06/3.869, allocations: 0 / 2.472 GB, free: 144.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-06/3.869, allocations: 4 kB / 2.472 GB, free: 144.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/3.869, allocations: 79.89 kB / 2.472 GB, free: 144.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-06/3.869, allocations: 4.062 kB / 2.472 GB, free: 144.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/3.87, allocations: 59.77 kB / 2.472 GB, free: 144.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/3.87, allocations: 20 kB / 2.472 GB, free: 144.1 MB / 1.151 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 (42): * Single equations (assignments): 41 * 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 8.966e-05/3.87, allocations: 108.9 kB / 2.472 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-05/3.87, allocations: 51.44 kB / 2.473 GB, free: 143.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/3.871, allocations: 0.5223 MB / 2.473 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/3.871, allocations: 11.89 kB / 2.473 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/3.871, allocations: 3.984 kB / 2.473 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00084/3.872, allocations: 0.7618 MB / 2.474 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/3.874, allocations: 1.401 MB / 2.475 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/3.874, allocations: 4 kB / 2.475 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/3.874, allocations: 79.89 kB / 2.475 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/3.874, allocations: 24.84 kB / 2.475 GB, free: 140.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/3.874, allocations: 12 kB / 2.475 GB, free: 140.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000433/3.875, allocations: 1.162 MB / 2.476 GB, free: 139.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/3.875, allocations: 4.031 kB / 2.476 GB, free: 139.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001047/3.876, allocations: 0.8549 MB / 2.477 GB, free: 138.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/3.876, allocations: 176.4 kB / 2.477 GB, free: 138.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/3.876, allocations: 4 kB / 2.477 GB, free: 138.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/3.876, allocations: 43.8 kB / 2.477 GB, free: 138.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/3.876, allocations: 19.92 kB / 2.477 GB, free: 138.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/3.876, allocations: 19.98 kB / 2.478 GB, free: 138.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002408/3.877, allocations: 267.2 kB / 2.478 GB, free: 138.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001607/3.878, allocations: 0.5495 MB / 2.478 GB, free: 137.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.Xi[2],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 (34): * Single equations (assignments): 32 * 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.001961/3.88, allocations: 1.293 MB / 2.48 GB, free: 136.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009337/3.881, allocations: 0.5848 MB / 2.48 GB, free: 135.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/3.881, allocations: 0 / 2.48 GB, free: 135.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/3.882, allocations: 199.8 kB / 2.48 GB, free: 135.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/3.883, allocations: 276.1 kB / 2.481 GB, free: 135.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/3.885, allocations: 1.034 MB / 2.482 GB, free: 134.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004447/3.885, allocations: 0.9994 MB / 2.483 GB, free: 133.2 MB / 1.151 GB Notification: Performance of SimCode: time 3.91e-07/3.885, allocations: 0 / 2.483 GB, free: 133.2 MB / 1.151 GB Notification: Performance of Templates: time 0.02749/3.912, allocations: 19.2 MB / 2.501 GB, free: 114.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches