Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [: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 7.0.3-maint.7.0.x/package.mo): time 1.225/1.225, allocations: 249.4 MB / 256.7 MB, free: 7.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009388/0.0009391, allocations: 165.3 kB / 316 MB, free: 3.586 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008376/0.0008376, allocations: 98.81 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.828e-06/9.848e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.151, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.426/3.577, allocations: 2.175 GB / 3.06 GB, free: 189 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/3.577, allocations: 87.25 kB / 3.06 GB, free: 189 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.06892/3.646, allocations: 40.02 MB / 3.099 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.016e-05/3.646, allocations: 0 / 3.099 GB, free: 156.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004409/3.647, allocations: 453.4 kB / 3.099 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/3.647, allocations: 11.97 kB / 3.099 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/3.647, allocations: 35.78 kB / 3.099 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/3.647, allocations: 210 kB / 3.099 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/3.647, allocations: 0 / 3.099 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/3.647, allocations: 8 kB / 3.099 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001166/3.647, allocations: 58.31 kB / 3.1 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/3.647, allocations: 93.05 kB / 3.1 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/3.647, allocations: 4 kB / 3.1 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/3.647, allocations: 0 / 3.1 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/3.647, allocations: 0 / 3.1 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/3.648, allocations: 419.7 kB / 3.1 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/3.648, allocations: 71.2 kB / 3.1 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/3.648, allocations: 27.92 kB / 3.1 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/3.648, allocations: 4 kB / 3.1 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/3.648, allocations: 42.53 kB / 3.1 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/3.648, allocations: 0 / 3.1 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0001691/3.648, allocations: 78.77 kB / 3.1 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.276e-05/3.648, allocations: 51.41 kB / 3.1 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/3.648, allocations: 140.6 kB / 3.1 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/3.648, allocations: 25.7 kB / 3.1 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/3.648, allocations: 103.7 kB / 3.101 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/3.648, allocations: 31.58 kB / 3.101 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/3.648, allocations: 0 / 3.101 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 3.98e-05/3.648, allocations: 322.5 kB / 3.101 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/3.649, allocations: 14.62 kB / 3.101 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/3.649, allocations: 22.25 kB / 3.101 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/3.649, allocations: 23.19 kB / 3.101 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/3.649, allocations: 3.938 kB / 3.101 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000109/3.649, allocations: 91.09 kB / 3.101 GB, free: 154 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/3.649, allocations: 4 kB / 3.101 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/3.649, allocations: 4 kB / 3.101 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/3.649, allocations: 0 / 3.101 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/3.649, allocations: 19.98 kB / 3.101 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/3.649, allocations: 0 / 3.101 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/3.649, allocations: 15.89 kB / 3.101 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/3.649, allocations: 8 kB / 3.101 GB, free: 154 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/3.649, allocations: 101 kB / 3.101 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/3.649, allocations: 7.906 kB / 3.101 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/3.649, allocations: 99.75 kB / 3.101 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/3.649, allocations: 4 kB / 3.101 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/3.649, allocations: 0 / 3.101 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/3.649, allocations: 7.984 kB / 3.101 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/3.649, allocations: 191 kB / 3.101 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/3.649, allocations: 0 / 3.101 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/3.65, allocations: 23.98 kB / 3.101 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/3.65, allocations: 0 / 3.101 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/3.65, allocations: 7.906 kB / 3.101 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/3.65, allocations: 0 / 3.101 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/3.65, allocations: 0 / 3.101 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001153/3.65, allocations: 177.7 kB / 3.102 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/3.65, allocations: 88.92 kB / 3.102 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/3.65, allocations: 4 kB / 3.102 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/3.65, allocations: 7.984 kB / 3.102 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/3.65, allocations: 11.36 kB / 3.102 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/3.65, allocations: 0 / 3.102 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.86e-05/3.65, allocations: 112.5 kB / 3.102 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002671/3.65, allocations: 56.28 kB / 3.102 GB, free: 153.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000523/3.651, allocations: 0.6624 MB / 3.103 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001085/3.651, allocations: 46.25 kB / 3.103 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/3.651, allocations: 0 / 3.103 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/3.651, allocations: 24.75 kB / 3.103 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/3.651, allocations: 32.28 kB / 3.103 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/3.652, allocations: 145.4 kB / 3.103 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/3.652, allocations: 0.7325 MB / 3.104 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/3.652, allocations: 4 kB / 3.104 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.006395/3.658, allocations: 4.586 MB / 3.108 GB, free: 146.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches