Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.203/1.203, allocations: 249.4 MB / 256.7 MB, free: 6.969 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.00103/0.00103, allocations: 188.9 kB / 316 MB, free: 3.547 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.083/1.083, allocations: 205.2 MB / 0.5667 GB, free: 15.67 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.0008481/0.0008479, allocations: 90.05 kB / 0.671 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.511e-06/5.531e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1343, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.245/4.379, allocations: 2.872 GB / 3.757 GB, free: 208 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/4.379, allocations: 87.95 kB / 3.757 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.734/8.113, allocations: 1.395 GB / 5.152 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001024/8.113, allocations: 38.38 kB / 5.152 GB, free: 130.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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002092/8.115, allocations: 1.336 MB / 5.153 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/8.115, allocations: 9.344 kB / 5.153 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/8.117, allocations: 352 kB / 5.154 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/8.119, allocations: 0.9339 MB / 5.155 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/8.119, allocations: 33.09 kB / 5.155 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/8.119, allocations: 63.91 kB / 5.155 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001419/8.12, allocations: 0.9253 MB / 5.156 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/8.122, allocations: 1.299 MB / 5.157 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/8.122, allocations: 7.938 kB / 5.157 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/8.122, allocations: 3.906 kB / 5.157 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/8.122, allocations: 53.8 kB / 5.157 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/8.126, allocations: 5.028 MB / 5.162 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/8.127, allocations: 300.9 kB / 5.162 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/8.127, allocations: 249.6 kB / 5.162 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/8.128, allocations: 0.9653 MB / 5.163 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/8.128, allocations: 38.5 kB / 5.163 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=28): time 2.575e-06/8.128, allocations: 3.656 kB / 5.163 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28): time 0.001546/8.129, allocations: 0.5468 MB / 5.164 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/8.129, allocations: 81.11 kB / 5.164 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005486/8.13, allocations: 0.5629 MB / 5.165 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/8.13, allocations: 28.8 kB / 5.165 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/8.13, allocations: 458.5 kB / 5.165 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/8.13, allocations: 90.66 kB / 5.165 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/8.13, allocations: 4 kB / 5.165 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.597e-05/8.13, allocations: 314 kB / 5.165 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/8.13, allocations: 155.9 kB / 5.166 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/8.131, allocations: 321.6 kB / 5.166 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/8.131, allocations: 205.1 kB / 5.166 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/8.131, allocations: 0 / 5.166 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005338/8.131, allocations: 485 kB / 5.167 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/8.131, allocations: 4 kB / 5.167 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/8.131, allocations: 11.08 kB / 5.167 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/8.131, allocations: 7.938 kB / 5.167 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/8.132, allocations: 55.92 kB / 5.167 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/8.132, allocations: 7.906 kB / 5.167 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/8.132, allocations: 31.7 kB / 5.167 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/8.132, allocations: 29.02 kB / 5.167 GB, free: 116.9 MB / 0.8855 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 8.005e-05/8.132, allocations: 110.9 kB / 5.167 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/8.132, allocations: 78.97 kB / 5.167 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/8.133, allocations: 327.2 kB / 5.167 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/8.133, allocations: 4 kB / 5.167 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/8.133, allocations: 1.688 kB / 5.167 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/8.133, allocations: 0 / 5.167 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/8.135, allocations: 2.363 MB / 5.17 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/8.135, allocations: 7.125 kB / 5.17 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/8.135, allocations: 47.92 kB / 5.17 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/8.135, allocations: 8 kB / 5.17 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/8.135, allocations: 8 kB / 5.17 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/8.135, allocations: 15.92 kB / 5.17 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/8.135, allocations: 11.94 kB / 5.17 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005024/8.136, allocations: 0.8358 MB / 5.17 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/8.136, allocations: 203.5 kB / 5.171 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/8.136, allocations: 11.98 kB / 5.171 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/8.136, allocations: 15.91 kB / 5.171 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/8.136, allocations: 30.48 kB / 5.171 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/8.137, allocations: 16 kB / 5.171 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0003933/8.137, allocations: 479.1 kB / 5.171 GB, free: 112 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001543/8.138, allocations: 0.5492 MB / 5.172 GB, free: 111.4 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.003327/8.142, allocations: 2.588 MB / 5.174 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004176/8.142, allocations: 344.9 kB / 5.175 GB, free: 109 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/8.142, allocations: 0 / 5.175 GB, free: 109 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/8.142, allocations: 151 kB / 5.175 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/8.144, allocations: 431.4 kB / 5.175 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/8.146, allocations: 1.439 MB / 5.177 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007066/8.147, allocations: 1.282 MB / 5.178 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/8.147, allocations: 0 / 5.178 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.03468/8.182, allocations: 26.5 MB / 5.204 GB, free: 79.75 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches