Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.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.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|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_9_Buildings.Fluid.Sources.Validation.Boundary") translateModel(Buildings.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|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_9_Buildings.Fluid.Sources.Validation.Boundary") [: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.016/2.016, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001064/0.001064, allocations: 180.8 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.44/1.44, allocations: 221.3 MB / 0.7819 GB, free: 1.43 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.001303/0.001303, allocations: 102.9 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.687e-06/8.807e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2979, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.883/6.181, allocations: 2.868 GB / 4.073 GB, free: 351.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/6.181, allocations: 91.89 kB / 4.073 GB, free: 351.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 6.169/12.35, allocations: 1.76 GB / 5.833 GB, free: 185.7 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0002835/12.35, allocations: 58.02 kB / 5.833 GB, free: 185.7 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.006001/12.36, allocations: 1.849 MB / 5.835 GB, free: 185.2 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/12.36, allocations: 7.375 kB / 5.835 GB, free: 185.2 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/12.36, allocations: 456.5 kB / 5.836 GB, free: 185.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003456/12.36, allocations: 1.322 MB / 5.837 GB, free: 184.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.85e-05/12.36, allocations: 38.66 kB / 5.837 GB, free: 184.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004671/12.36, allocations: 82.97 kB / 5.837 GB, free: 184.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002293/12.37, allocations: 1.084 MB / 5.838 GB, free: 184.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/12.37, allocations: 1.481 MB / 5.84 GB, free: 184.5 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/12.37, allocations: 10.03 kB / 5.84 GB, free: 184.5 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/12.37, allocations: 3.562 kB / 5.84 GB, free: 184.5 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.9e-05/12.37, allocations: 54.84 kB / 5.84 GB, free: 184.5 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006711/12.38, allocations: 6.546 MB / 5.846 GB, free: 180.8 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008202/12.38, allocations: 0.6219 MB / 5.847 GB, free: 180.7 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005602/12.38, allocations: 0.5869 MB / 5.847 GB, free: 180.6 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/12.38, allocations: 2.608 MB / 5.85 GB, free: 177.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/12.38, allocations: 40.56 kB / 5.85 GB, free: 177.8 MB / 1.198 GB Notification: Performance of pre-optimization done (n=72): time 3.818e-06/12.38, allocations: 0 / 5.85 GB, free: 177.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=72): time 0.003247/12.38, allocations: 1.123 MB / 5.851 GB, free: 177.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/12.38, allocations: 224.1 kB / 5.851 GB, free: 177.4 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009751/12.38, allocations: 0.7787 MB / 5.852 GB, free: 177.3 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/12.38, allocations: 29.48 kB / 5.852 GB, free: 177.2 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/12.38, allocations: 0.5094 MB / 5.852 GB, free: 177 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/12.38, allocations: 234.2 kB / 5.853 GB, free: 176.9 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/12.38, allocations: 0 / 5.853 GB, free: 176.9 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 7.889e-05/12.38, allocations: 330.8 kB / 5.853 GB, free: 176.6 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/12.38, allocations: 295.1 kB / 5.853 GB, free: 176.6 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005379/12.39, allocations: 0.5811 MB / 5.854 GB, free: 176.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00089/12.39, allocations: 461.5 kB / 5.854 GB, free: 176.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/12.39, allocations: 3.188 kB / 5.854 GB, free: 176.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001517/12.39, allocations: 0.9395 MB / 5.855 GB, free: 176.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/12.39, allocations: 7.719 kB / 5.855 GB, free: 176.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/12.39, allocations: 3.875 kB / 5.855 GB, free: 176.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/12.39, allocations: 6.25 kB / 5.855 GB, free: 176.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/12.39, allocations: 130.2 kB / 5.855 GB, free: 176.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/12.39, allocations: 5.031 kB / 5.855 GB, free: 176.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006249/12.39, allocations: 47 kB / 5.855 GB, free: 176.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/12.39, allocations: 69.45 kB / 5.855 GB, free: 176.2 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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 0.000141/12.39, allocations: 121.7 kB / 5.855 GB, free: 176.1 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/12.39, allocations: 133.9 kB / 5.856 GB, free: 176.1 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/12.39, allocations: 1.083 MB / 5.857 GB, free: 176 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/12.39, allocations: 14.09 kB / 5.857 GB, free: 176 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/12.39, allocations: 5.656 kB / 5.857 GB, free: 176 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/12.39, allocations: 3.891 kB / 5.857 GB, free: 176 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009625/12.4, allocations: 8.581 MB / 5.865 GB, free: 173.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/12.4, allocations: 17.69 kB / 5.865 GB, free: 173.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/12.4, allocations: 142.5 kB / 5.865 GB, free: 173.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-05/12.4, allocations: 19.66 kB / 5.865 GB, free: 173.6 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-05/12.4, allocations: 27.89 kB / 5.865 GB, free: 173.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.847e-05/12.4, allocations: 33.3 kB / 5.865 GB, free: 173.6 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-05/12.4, allocations: 27.97 kB / 5.865 GB, free: 173.6 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002332/12.4, allocations: 2.556 MB / 5.868 GB, free: 171.7 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004979/12.4, allocations: 310.4 kB / 5.868 GB, free: 171.5 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/12.4, allocations: 23.72 kB / 5.868 GB, free: 171.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005684/12.41, allocations: 33.91 kB / 5.868 GB, free: 171.5 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/12.41, allocations: 98.75 kB / 5.868 GB, free: 171.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.774e-05/12.41, allocations: 48.19 kB / 5.868 GB, free: 171.5 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.0007648/12.41, allocations: 0.6102 MB / 5.869 GB, free: 171.4 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.002882/12.41, allocations: 0.7224 MB / 5.87 GB, free: 171.3 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005463/12.41, allocations: 3.217 MB / 5.873 GB, free: 170.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.001328/12.42, allocations: 0.791 MB / 5.874 GB, free: 170.5 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/12.42, allocations: 3.5 kB / 5.874 GB, free: 170.5 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004938/12.42, allocations: 469.9 kB / 5.874 GB, free: 170.5 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/12.42, allocations: 0.7255 MB / 5.875 GB, free: 170.5 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/12.42, allocations: 2.41 MB / 5.877 GB, free: 169.5 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/12.43, allocations: 1.537 MB / 5.879 GB, free: 168.8 MB / 1.198 GB Notification: Performance of SimCode: time 1.012e-06/12.43, allocations: 0 / 5.879 GB, free: 168.8 MB / 1.198 GB Notification: Performance of Templates: time 0.06569/12.49, allocations: 38.53 MB / 5.916 GB, free: 167.7 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Boundary.csv","../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches