Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.066/2.066, 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.001249/0.001249, allocations: 185.3 kB / 490.8 MB, free: 1.914 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.463/1.463, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.001081/0.001081, allocations: 91.3 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.686e-06/8.716e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.28, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.695/5.975, allocations: 2.869 GB / 4.08 GB, free: 311.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/5.976, allocations: 83.95 kB / 4.08 GB, free: 311.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 5.99/11.97, allocations: 1.76 GB / 5.84 GB, free: 180.1 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0002598/11.97, allocations: 59.19 kB / 5.841 GB, free: 180.1 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.00563/11.97, allocations: 1.848 MB / 5.842 GB, free: 179.2 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/11.97, allocations: 11.42 kB / 5.842 GB, free: 179.2 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003048/11.97, allocations: 465.2 kB / 5.843 GB, free: 179.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/11.98, allocations: 1.31 MB / 5.844 GB, free: 178.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/11.98, allocations: 42.08 kB / 5.844 GB, free: 178.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/11.98, allocations: 85.88 kB / 5.844 GB, free: 178.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001666/11.98, allocations: 1.086 MB / 5.845 GB, free: 178.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/11.98, allocations: 1.477 MB / 5.847 GB, free: 178.5 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/11.98, allocations: 6.094 kB / 5.847 GB, free: 178.5 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/11.98, allocations: 3.938 kB / 5.847 GB, free: 178.5 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/11.98, allocations: 51.31 kB / 5.847 GB, free: 178.5 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006135/11.99, allocations: 6.529 MB / 5.853 GB, free: 174.9 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008096/11.99, allocations: 0.6183 MB / 5.854 GB, free: 174.7 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005618/11.99, allocations: 0.5926 MB / 5.854 GB, free: 174.7 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/11.99, allocations: 2.616 MB / 5.857 GB, free: 171.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/11.99, allocations: 44.14 kB / 5.857 GB, free: 171.8 MB / 1.198 GB Notification: Performance of pre-optimization done (n=72): time 3.256e-06/11.99, allocations: 0 / 5.857 GB, free: 171.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=72): time 0.003375/11.99, allocations: 1.118 MB / 5.858 GB, free: 171.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/11.99, allocations: 223.9 kB / 5.858 GB, free: 171.4 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/12, allocations: 0.7813 MB / 5.859 GB, free: 171.3 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 8.198e-05/12, allocations: 31.3 kB / 5.859 GB, free: 171.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/12, allocations: 0.5025 MB / 5.859 GB, free: 171.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/12, allocations: 233.8 kB / 5.86 GB, free: 171 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/12, allocations: 0 / 5.86 GB, free: 171 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 7.361e-05/12, allocations: 333.2 kB / 5.86 GB, free: 170.6 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/12, allocations: 294.3 kB / 5.86 GB, free: 170.6 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/12, allocations: 0.5737 MB / 5.861 GB, free: 170.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/12, allocations: 464 kB / 5.861 GB, free: 170.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/12, allocations: 3.812 kB / 5.861 GB, free: 170.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001463/12, allocations: 0.9416 MB / 5.862 GB, free: 170.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/12, allocations: 2.719 kB / 5.862 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/12, allocations: 6.875 kB / 5.862 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/12, allocations: 6.719 kB / 5.862 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/12, allocations: 128.5 kB / 5.862 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/12, allocations: 7.469 kB / 5.862 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/12, allocations: 47.45 kB / 5.862 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/12, allocations: 65.09 kB / 5.862 GB, free: 170.3 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.0001369/12, allocations: 132.5 kB / 5.863 GB, free: 170.2 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/12, allocations: 134.5 kB / 5.863 GB, free: 170.1 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/12, allocations: 1.086 MB / 5.864 GB, free: 170.1 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/12, allocations: 11.28 kB / 5.864 GB, free: 170.1 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/12, allocations: 0 / 5.864 GB, free: 170.1 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/12, allocations: 6.922 kB / 5.864 GB, free: 170.1 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009054/12.01, allocations: 8.585 MB / 5.872 GB, free: 167.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/12.01, allocations: 15.5 kB / 5.872 GB, free: 167.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/12.01, allocations: 142.4 kB / 5.872 GB, free: 167.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.988e-05/12.01, allocations: 22.91 kB / 5.872 GB, free: 167.6 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/12.01, allocations: 29.61 kB / 5.872 GB, free: 167.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.596e-05/12.01, allocations: 30.5 kB / 5.872 GB, free: 167.6 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.465e-05/12.01, allocations: 24.38 kB / 5.872 GB, free: 167.6 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002115/12.01, allocations: 2.548 MB / 5.875 GB, free: 165.7 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004831/12.02, allocations: 320.9 kB / 5.875 GB, free: 165.5 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/12.02, allocations: 24.61 kB / 5.875 GB, free: 165.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005467/12.02, allocations: 23.12 kB / 5.875 GB, free: 165.5 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/12.02, allocations: 101.1 kB / 5.875 GB, free: 165.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.534e-05/12.02, allocations: 53.27 kB / 5.875 GB, free: 165.5 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.0006802/12.02, allocations: 0.6066 MB / 5.876 GB, free: 165.4 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.002571/12.02, allocations: 0.7202 MB / 5.877 GB, free: 165.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.005496/12.02, allocations: 3.216 MB / 5.88 GB, free: 164.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.001189/12.03, allocations: 0.784 MB / 5.881 GB, free: 164.6 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/12.03, allocations: 2.438 kB / 5.881 GB, free: 164.6 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004823/12.03, allocations: 472.4 kB / 5.881 GB, free: 164.6 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/12.03, allocations: 0.7287 MB / 5.882 GB, free: 164.6 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/12.03, allocations: 2.407 MB / 5.884 GB, free: 163.5 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001153/12.04, allocations: 1.539 MB / 5.886 GB, free: 162.8 MB / 1.198 GB Notification: Performance of SimCode: time 2.294e-06/12.04, allocations: 0 / 5.886 GB, free: 162.8 MB / 1.198 GB Notification: Performance of Templates: time 0.05844/12.09, allocations: 38.53 MB / 5.923 GB, free: 161.5 MB / 1.198 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Boundary.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches