Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.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.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouMoiAir.Xi.1.|bouMoiAirCO2.Xi.1.|bouProFluGas.Xi.1.|bouProFluGas.Xi.2.|bouProFluGas.Xi.3.|bouProFluGas.Xi.4.|bouProFluGas.Xi.5.|bouNatGas.Xi.1.|bouNatGas.Xi.2.|bouNatGas.Xi.3.|bouNatGas.Xi.4.|bouNatGas.Xi.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouMoiAir.Xi.1.|bouMoiAirCO2.Xi.1.|bouProFluGas.Xi.1.|bouProFluGas.Xi.2.|bouProFluGas.Xi.3.|bouProFluGas.Xi.4.|bouProFluGas.Xi.5.|bouNatGas.Xi.1.|bouNatGas.Xi.2.|bouNatGas.Xi.3.|bouNatGas.Xi.4.|bouNatGas.Xi.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") [: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 2.033/2.033, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001087/0.001087, allocations: 177.2 kB / 490.8 MB, free: 1.945 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.419/1.419, allocations: 221.3 MB / 0.7863 GB, free: 13.63 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.0009972/0.0009971, allocations: 101.7 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.203e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2848, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.092/5.377, allocations: 2.542 GB / 3.753 GB, free: 222.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/5.377, allocations: 83.94 kB / 3.753 GB, free: 222.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.509/9.886, allocations: 1.422 GB / 5.175 GB, free: 106.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.913e-05/9.886, allocations: 43.92 kB / 5.175 GB, free: 106.6 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002274/9.888, allocations: 1.296 MB / 5.177 GB, free: 105.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/9.888, allocations: 12.03 kB / 5.177 GB, free: 105.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/9.89, allocations: 361.7 kB / 5.177 GB, free: 104.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/9.891, allocations: 0.9393 MB / 5.178 GB, free: 103.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/9.891, allocations: 36 kB / 5.178 GB, free: 103.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/9.891, allocations: 60 kB / 5.178 GB, free: 103.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001265/9.893, allocations: 0.9257 MB / 5.179 GB, free: 102.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/9.894, allocations: 1.326 MB / 5.18 GB, free: 101.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/9.894, allocations: 8 kB / 5.18 GB, free: 101.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/9.894, allocations: 4 kB / 5.18 GB, free: 101.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/9.895, allocations: 49.86 kB / 5.18 GB, free: 101.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004237/9.899, allocations: 5.052 MB / 5.185 GB, free: 96.08 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/9.899, allocations: 309 kB / 5.185 GB, free: 95.76 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/9.899, allocations: 241.9 kB / 5.186 GB, free: 95.52 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007829/9.9, allocations: 1.079 MB / 5.187 GB, free: 94.22 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/9.9, allocations: 42.72 kB / 5.187 GB, free: 94.17 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 3.416e-06/9.9, allocations: 0 / 5.187 GB, free: 94.17 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.001765/9.902, allocations: 0.5783 MB / 5.187 GB, free: 93.58 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/9.902, allocations: 81.11 kB / 5.187 GB, free: 93.48 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005632/9.903, allocations: 0.5512 MB / 5.188 GB, free: 92.93 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/9.903, allocations: 25.7 kB / 5.188 GB, free: 92.89 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/9.903, allocations: 470.5 kB / 5.188 GB, free: 92.43 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/9.903, allocations: 86.66 kB / 5.188 GB, free: 92.34 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/9.903, allocations: 0 / 5.188 GB, free: 92.34 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.625e-05/9.903, allocations: 317.9 kB / 5.189 GB, free: 92.02 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/9.903, allocations: 155.9 kB / 5.189 GB, free: 91.87 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/9.903, allocations: 304.5 kB / 5.189 GB, free: 91.52 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/9.904, allocations: 215.8 kB / 5.189 GB, free: 91.31 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/9.904, allocations: 0 / 5.189 GB, free: 91.31 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006632/9.905, allocations: 0.4925 MB / 5.19 GB, free: 90.81 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/9.905, allocations: 4 kB / 5.19 GB, free: 90.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/9.905, allocations: 4 kB / 5.19 GB, free: 90.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/9.905, allocations: 4 kB / 5.19 GB, free: 90.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/9.905, allocations: 55.91 kB / 5.19 GB, free: 90.74 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/9.905, allocations: 7.938 kB / 5.19 GB, free: 90.73 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/9.905, allocations: 35.95 kB / 5.19 GB, free: 90.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/9.905, allocations: 24 kB / 5.19 GB, free: 90.68 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 9.318e-05/9.905, allocations: 112.8 kB / 5.19 GB, free: 90.56 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/9.905, allocations: 75.06 kB / 5.19 GB, free: 90.48 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/9.906, allocations: 326 kB / 5.191 GB, free: 90.15 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/9.906, allocations: 7.906 kB / 5.191 GB, free: 90.14 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/9.906, allocations: 0 / 5.191 GB, free: 90.14 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/9.906, allocations: 3.984 kB / 5.191 GB, free: 90.14 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/9.909, allocations: 2.359 MB / 5.193 GB, free: 87.61 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/9.909, allocations: 4 kB / 5.193 GB, free: 87.61 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/9.909, allocations: 47.92 kB / 5.193 GB, free: 87.56 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/9.909, allocations: 8 kB / 5.193 GB, free: 87.55 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/9.909, allocations: 11.91 kB / 5.193 GB, free: 87.54 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/9.909, allocations: 15.92 kB / 5.193 GB, free: 87.53 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/9.909, allocations: 11.94 kB / 5.193 GB, free: 87.52 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000546/9.909, allocations: 0.8351 MB / 5.194 GB, free: 86.43 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/9.91, allocations: 208 kB / 5.194 GB, free: 86.21 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/9.91, allocations: 8 kB / 5.194 GB, free: 86.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/9.91, allocations: 15.92 kB / 5.194 GB, free: 86.19 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/9.91, allocations: 35.83 kB / 5.194 GB, free: 86.15 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/9.91, allocations: 12 kB / 5.194 GB, free: 86.14 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0004146/9.91, allocations: 471.1 kB / 5.194 GB, free: 85.69 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001681/9.912, allocations: 0.5102 MB / 5.195 GB, free: 85.18 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.00461/9.917, allocations: 2.437 MB / 5.197 GB, free: 82.65 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005094/9.917, allocations: 339.5 kB / 5.198 GB, free: 82.32 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/9.917, allocations: 384 / 5.198 GB, free: 82.32 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/9.917, allocations: 155.7 kB / 5.198 GB, free: 82.17 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/9.919, allocations: 426.6 kB / 5.198 GB, free: 81.76 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/9.922, allocations: 1.463 MB / 5.2 GB, free: 80.19 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009003/9.923, allocations: 1.288 MB / 5.201 GB, free: 78.88 MB / 1.167 GB Notification: Performance of SimCode: time 5.2e-07/9.923, allocations: 8 kB / 5.201 GB, free: 78.87 MB / 1.167 GB Notification: Performance of Templates: time 0.03746/9.961, allocations: 25.65 MB / 5.226 GB, free: 53.33 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches