Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.2/1.2, allocations: 249.4 MB / 256.7 MB, free: 7.043 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.0009543/0.0009543, allocations: 181.2 kB / 316 MB, free: 3.543 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.061/1.061, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0007895/0.0007895, allocations: 79.41 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.751e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.159, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.535/4.694, allocations: 2.872 GB / 3.757 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/4.695, allocations: 79.95 kB / 3.757 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.565/8.259, allocations: 1.395 GB / 5.152 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.076e-05/8.259, allocations: 45.09 kB / 5.152 GB, free: 129.6 MB / 0.8855 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.001788/8.261, allocations: 1.324 MB / 5.153 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/8.261, allocations: 8.031 kB / 5.153 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/8.263, allocations: 353.8 kB / 5.154 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/8.264, allocations: 0.9507 MB / 5.155 GB, free: 127 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/8.264, allocations: 35.8 kB / 5.155 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/8.264, allocations: 60 kB / 5.155 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001175/8.265, allocations: 0.9334 MB / 5.156 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/8.267, allocations: 1.319 MB / 5.157 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/8.267, allocations: 0 / 5.157 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/8.267, allocations: 7.312 kB / 5.157 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.301e-05/8.267, allocations: 53.95 kB / 5.157 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003662/8.271, allocations: 5.052 MB / 5.162 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/8.271, allocations: 304.2 kB / 5.162 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/8.271, allocations: 245.6 kB / 5.163 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000639/8.272, allocations: 0.9533 MB / 5.163 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/8.272, allocations: 50.39 kB / 5.164 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=28): time 2.475e-06/8.272, allocations: 2.938 kB / 5.164 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28): time 0.001477/8.274, allocations: 0.5415 MB / 5.164 GB, free: 117 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/8.274, allocations: 81.11 kB / 5.164 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/8.274, allocations: 0.555 MB / 5.165 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/8.274, allocations: 29.7 kB / 5.165 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/8.274, allocations: 466.5 kB / 5.165 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/8.274, allocations: 86.66 kB / 5.165 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/8.274, allocations: 0 / 5.165 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.319e-05/8.275, allocations: 314 kB / 5.166 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/8.275, allocations: 155.9 kB / 5.166 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/8.275, allocations: 295.7 kB / 5.166 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/8.275, allocations: 189.7 kB / 5.166 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/8.275, allocations: 4.812 kB / 5.166 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000515/8.276, allocations: 467.3 kB / 5.167 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/8.276, allocations: 4 kB / 5.167 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/8.276, allocations: 4 kB / 5.167 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/8.276, allocations: 7.938 kB / 5.167 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/8.276, allocations: 55.91 kB / 5.167 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/8.276, allocations: 11.78 kB / 5.167 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/8.276, allocations: 21.55 kB / 5.167 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/8.276, allocations: 31.25 kB / 5.167 GB, free: 114.1 MB / 0.8855 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 7.877e-05/8.276, allocations: 112.8 kB / 5.167 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/8.277, allocations: 79.05 kB / 5.167 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/8.277, allocations: 317 kB / 5.167 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/8.277, allocations: 0 / 5.167 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/8.277, allocations: 8 kB / 5.167 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/8.277, allocations: 3.984 kB / 5.167 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/8.279, allocations: 2.364 MB / 5.17 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/8.279, allocations: 8 kB / 5.17 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/8.279, allocations: 47.92 kB / 5.17 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/8.279, allocations: 12 kB / 5.17 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/8.28, allocations: 8 kB / 5.17 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/8.28, allocations: 11.92 kB / 5.17 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/8.28, allocations: 14.69 kB / 5.17 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004883/8.28, allocations: 0.8351 MB / 5.17 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/8.28, allocations: 200.1 kB / 5.171 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/8.28, allocations: 11.98 kB / 5.171 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/8.281, allocations: 19.38 kB / 5.171 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/8.281, allocations: 34.17 kB / 5.171 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/8.281, allocations: 19.89 kB / 5.171 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0003978/8.281, allocations: 467.1 kB / 5.171 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00155/8.283, allocations: 0.5629 MB / 5.172 GB, free: 108.6 MB / 0.8855 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.003433/8.286, allocations: 2.584 MB / 5.174 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003804/8.286, allocations: 331.6 kB / 5.175 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/8.286, allocations: 0 / 5.175 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/8.287, allocations: 167.4 kB / 5.175 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/8.288, allocations: 422.9 kB / 5.175 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/8.29, allocations: 1.448 MB / 5.177 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000668/8.291, allocations: 1.291 MB / 5.178 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of SimCode: time 2.6e-07/8.291, allocations: 0 / 5.178 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.03308/8.324, allocations: 26.45 MB / 5.204 GB, free: 76.98 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches