Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.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.CoupledVolumesAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir") [: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.102/2.102, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001105/0.001106, allocations: 169.3 kB / 487 MB, free: 5.414 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.475/1.475, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.001041/0.001041, allocations: 98.98 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.765e-06/7.785e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.102/5.383, allocations: 2.165 GB / 3.37 GB, free: 153.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/5.383, allocations: 83.95 kB / 3.37 GB, free: 153.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.695/7.078, allocations: 493.1 MB / 3.851 GB, free: 114.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001011/7.078, allocations: 27.94 kB / 3.851 GB, free: 114.1 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.002634/7.081, allocations: 1.075 MB / 3.852 GB, free: 113 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.422e-05/7.081, allocations: 13.03 kB / 3.852 GB, free: 113 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/7.083, allocations: 314.5 kB / 3.853 GB, free: 112.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/7.084, allocations: 0.7842 MB / 3.854 GB, free: 111.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/7.084, allocations: 20 kB / 3.854 GB, free: 111.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.303e-05/7.085, allocations: 36 kB / 3.854 GB, free: 111.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009058/7.085, allocations: 0.5024 MB / 3.854 GB, free: 111.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008409/7.086, allocations: 0.5154 MB / 3.855 GB, free: 110.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/7.086, allocations: 4 kB / 3.855 GB, free: 110.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/7.086, allocations: 0 / 3.855 GB, free: 110.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/7.086, allocations: 25.31 kB / 3.855 GB, free: 110.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/7.09, allocations: 2.771 MB / 3.857 GB, free: 107.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/7.09, allocations: 420.1 kB / 3.858 GB, free: 107.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/7.09, allocations: 250 kB / 3.858 GB, free: 107.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/7.091, allocations: 98.97 kB / 3.858 GB, free: 106.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/7.091, allocations: 42.56 kB / 3.858 GB, free: 106.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=46): time 2.034e-06/7.091, allocations: 0 / 3.858 GB, free: 106.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.002746/7.094, allocations: 1.314 MB / 3.859 GB, free: 105.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/7.094, allocations: 55.84 kB / 3.859 GB, free: 105.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/7.094, allocations: 430.4 kB / 3.86 GB, free: 105 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/7.094, allocations: 25.7 kB / 3.86 GB, free: 105 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/7.094, allocations: 264.3 kB / 3.86 GB, free: 104.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/7.094, allocations: 169.4 kB / 3.86 GB, free: 104.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/7.094, allocations: 4 kB / 3.86 GB, free: 104.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001138/7.094, allocations: 370.8 kB / 3.861 GB, free: 104.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/7.095, allocations: 181 kB / 3.861 GB, free: 104 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/7.095, allocations: 269.8 kB / 3.861 GB, free: 103.7 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/7.097, allocations: 0.7999 MB / 3.862 GB, free: 102.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/7.097, allocations: 0 / 3.862 GB, free: 102.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007816/7.098, allocations: 0.5618 MB / 3.862 GB, free: 102.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/7.098, allocations: 0.7047 MB / 3.863 GB, free: 101.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/7.098, allocations: 7.984 kB / 3.863 GB, free: 101.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/7.098, allocations: 44.83 kB / 3.863 GB, free: 101.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/7.099, allocations: 103.9 kB / 3.863 GB, free: 101.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/7.1, allocations: 2.025 MB / 3.865 GB, free: 99.25 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007456/7.101, allocations: 51.81 kB / 3.865 GB, free: 99.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/7.101, allocations: 27.97 kB / 3.865 GB, free: 99.17 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/7.101, allocations: 6.812 kB / 3.865 GB, free: 99.17 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006705/7.102, allocations: 478.1 kB / 3.866 GB, free: 98.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/7.102, allocations: 0 / 3.866 GB, free: 98.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.415e-05/7.102, allocations: 36.84 kB / 3.866 GB, free: 98.66 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/7.102, allocations: 103.8 kB / 3.866 GB, free: 98.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008874/7.103, allocations: 1.431 MB / 3.867 GB, free: 97.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006742/7.104, allocations: 47.88 kB / 3.867 GB, free: 96.97 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/7.104, allocations: 23.98 kB / 3.867 GB, free: 96.95 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001581/7.104, allocations: 120.8 kB / 3.867 GB, free: 96.82 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/7.104, allocations: 67.16 kB / 3.868 GB, free: 96.75 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000864/7.105, allocations: 0.5299 MB / 3.868 GB, free: 96.21 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/7.105, allocations: 7.906 kB / 3.868 GB, free: 96.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/7.105, allocations: 0 / 3.868 GB, free: 96.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006875/7.106, allocations: 0.7715 MB / 3.869 GB, free: 95.34 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/7.108, allocations: 1.46 MB / 3.87 GB, free: 93.81 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/7.108, allocations: 0 / 3.87 GB, free: 93.81 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/7.108, allocations: 119.9 kB / 3.87 GB, free: 93.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.475e-05/7.108, allocations: 28.84 kB / 3.87 GB, free: 93.66 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/7.108, allocations: 11.98 kB / 3.87 GB, free: 93.65 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/7.11, allocations: 1.9 MB / 3.872 GB, free: 91.61 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/7.11, allocations: 0 / 3.872 GB, free: 91.61 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009887/7.111, allocations: 0.9097 MB / 3.873 GB, free: 90.64 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/7.111, allocations: 200.2 kB / 3.873 GB, free: 90.43 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.406e-05/7.111, allocations: 11.98 kB / 3.873 GB, free: 90.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/7.111, allocations: 39.81 kB / 3.873 GB, free: 90.38 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/7.112, allocations: 23.97 kB / 3.873 GB, free: 90.35 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/7.112, allocations: 19.98 kB / 3.873 GB, free: 90.33 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003516/7.112, allocations: 330.9 kB / 3.874 GB, free: 90.01 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001541/7.114, allocations: 440 kB / 3.874 GB, free: 89.58 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001991/7.116, allocations: 1.391 MB / 3.876 GB, free: 88.16 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001576/7.117, allocations: 0.9656 MB / 3.876 GB, free: 87.18 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/7.117, allocations: 4 kB / 3.876 GB, free: 87.17 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004282/7.118, allocations: 350.7 kB / 3.877 GB, free: 86.82 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/7.119, allocations: 419.7 kB / 3.877 GB, free: 86.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/7.122, allocations: 1.304 MB / 3.878 GB, free: 85.07 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006506/7.122, allocations: 1.08 MB / 3.88 GB, free: 83.96 MB / 1.151 GB Notification: Performance of SimCode: time 6.81e-07/7.122, allocations: 0 / 3.88 GB, free: 83.96 MB / 1.151 GB Notification: Performance of Templates: time 0.03712/7.16, allocations: 23.48 MB / 3.902 GB, free: 60.64 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches