Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.BoundaryWithXi_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.BoundaryWithXi_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.BoundaryWithXi_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 1.958/1.958, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001108/0.001108, allocations: 177.3 kB / 490.8 MB, free: 1.969 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.422/1.422, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0009536/0.0009534, allocations: 99.34 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.394e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2918, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.101/5.392, allocations: 2.542 GB / 3.753 GB, free: 223.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/5.393, allocations: 79.95 kB / 3.753 GB, free: 223 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.406/9.799, allocations: 1.422 GB / 5.175 GB, free: 107.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001006/9.799, allocations: 43.27 kB / 5.175 GB, free: 107.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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002285/9.801, allocations: 1.281 MB / 5.177 GB, free: 106.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/9.801, allocations: 8.031 kB / 5.177 GB, free: 106.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/9.803, allocations: 353.8 kB / 5.177 GB, free: 106 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/9.804, allocations: 0.9405 MB / 5.178 GB, free: 105 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/9.804, allocations: 32 kB / 5.178 GB, free: 105 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/9.804, allocations: 67.91 kB / 5.178 GB, free: 104.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001241/9.806, allocations: 0.9255 MB / 5.179 GB, free: 104 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/9.807, allocations: 1.3 MB / 5.18 GB, free: 102.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/9.807, allocations: 4 kB / 5.18 GB, free: 102.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.594e-05/9.807, allocations: 0 / 5.18 GB, free: 102.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/9.807, allocations: 53.8 kB / 5.18 GB, free: 102.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/9.812, allocations: 5.039 MB / 5.185 GB, free: 97.21 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/9.812, allocations: 301.1 kB / 5.185 GB, free: 96.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/9.812, allocations: 245.6 kB / 5.186 GB, free: 96.66 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008053/9.813, allocations: 1.078 MB / 5.187 GB, free: 95.36 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/9.813, allocations: 42.55 kB / 5.187 GB, free: 95.31 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/9.813, allocations: 0 / 5.187 GB, free: 95.31 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.001768/9.815, allocations: 0.5708 MB / 5.187 GB, free: 94.73 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/9.815, allocations: 81.11 kB / 5.187 GB, free: 94.63 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/9.816, allocations: 0.559 MB / 5.188 GB, free: 94.07 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/9.816, allocations: 29.64 kB / 5.188 GB, free: 94.03 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/9.816, allocations: 464 kB / 5.188 GB, free: 93.57 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/9.816, allocations: 90.66 kB / 5.188 GB, free: 93.48 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/9.816, allocations: 0 / 5.188 GB, free: 93.48 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/9.816, allocations: 318 kB / 5.189 GB, free: 93.16 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/9.816, allocations: 152.7 kB / 5.189 GB, free: 93.02 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/9.817, allocations: 321 kB / 5.189 GB, free: 92.64 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/9.817, allocations: 231.7 kB / 5.189 GB, free: 92.41 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/9.817, allocations: 7.906 kB / 5.189 GB, free: 92.41 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006901/9.818, allocations: 0.5004 MB / 5.19 GB, free: 91.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/9.818, allocations: 7.906 kB / 5.19 GB, free: 91.89 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/9.818, allocations: 4 kB / 5.19 GB, free: 91.89 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/9.818, allocations: 7.938 kB / 5.19 GB, free: 91.88 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/9.818, allocations: 56.12 kB / 5.19 GB, free: 91.82 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/9.818, allocations: 8.25 kB / 5.19 GB, free: 91.82 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/9.818, allocations: 31.7 kB / 5.19 GB, free: 91.79 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/9.818, allocations: 28 kB / 5.19 GB, free: 91.76 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.546e-05/9.818, allocations: 116.8 kB / 5.19 GB, free: 91.64 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/9.819, allocations: 75.06 kB / 5.19 GB, free: 91.56 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/9.819, allocations: 321.9 kB / 5.191 GB, free: 91.23 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/9.819, allocations: 7.984 kB / 5.191 GB, free: 91.23 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/9.819, allocations: 3.906 kB / 5.191 GB, free: 91.22 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/9.819, allocations: 3.938 kB / 5.191 GB, free: 91.22 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/9.822, allocations: 2.352 MB / 5.193 GB, free: 88.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/9.822, allocations: 4 kB / 5.193 GB, free: 88.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/9.822, allocations: 51.86 kB / 5.193 GB, free: 88.65 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/9.822, allocations: 8.094 kB / 5.193 GB, free: 88.64 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/9.822, allocations: 11.98 kB / 5.193 GB, free: 88.63 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/9.822, allocations: 15.89 kB / 5.193 GB, free: 88.61 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/9.822, allocations: 16.44 kB / 5.193 GB, free: 88.6 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005845/9.823, allocations: 0.8465 MB / 5.194 GB, free: 87.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/9.823, allocations: 204 kB / 5.194 GB, free: 87.29 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/9.823, allocations: 11.98 kB / 5.194 GB, free: 87.27 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/9.823, allocations: 8 kB / 5.194 GB, free: 87.27 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/9.823, allocations: 31.89 kB / 5.194 GB, free: 87.23 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/9.823, allocations: 16 kB / 5.194 GB, free: 87.22 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0004132/9.824, allocations: 475.1 kB / 5.195 GB, free: 86.76 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001625/9.825, allocations: 0.5063 MB / 5.195 GB, free: 86.25 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.00371/9.829, allocations: 2.438 MB / 5.197 GB, free: 83.73 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004812/9.83, allocations: 347.6 kB / 5.198 GB, free: 83.39 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/9.83, allocations: 0 / 5.198 GB, free: 83.39 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/9.83, allocations: 149.6 kB / 5.198 GB, free: 83.25 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/9.831, allocations: 432.8 kB / 5.198 GB, free: 82.83 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/9.834, allocations: 1.439 MB / 5.2 GB, free: 81.28 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007413/9.835, allocations: 1.288 MB / 5.201 GB, free: 79.96 MB / 1.167 GB Notification: Performance of SimCode: time 1.713e-06/9.835, allocations: 0 / 5.201 GB, free: 79.96 MB / 1.167 GB Notification: Performance of Templates: time 0.03639/9.871, allocations: 25.69 MB / 5.226 GB, free: 54.38 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches