Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.987/1.987, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001239/0.001239, allocations: 193.2 kB / 487 MB, free: 5.332 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.455/1.455, allocations: 221.3 MB / 0.7819 GB, free: 1.336 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.0009754/0.0009752, allocations: 86.06 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/5.971e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.291, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.289/5.58, allocations: 2.541 GB / 3.746 GB, free: 213.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/5.58, allocations: 87.33 kB / 3.746 GB, free: 213.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.406/9.986, allocations: 1.422 GB / 5.168 GB, free: 75.94 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.232e-05/9.987, allocations: 43.98 kB / 5.168 GB, free: 75.9 MB / 1.151 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.002146/9.989, allocations: 1.299 MB / 5.169 GB, free: 74.55 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/9.989, allocations: 9.672 kB / 5.169 GB, free: 74.55 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/9.99, allocations: 353.8 kB / 5.17 GB, free: 74.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/9.992, allocations: 0.938 MB / 5.171 GB, free: 73.22 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/9.992, allocations: 32 kB / 5.171 GB, free: 73.19 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/9.992, allocations: 68 kB / 5.171 GB, free: 73.12 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001216/9.993, allocations: 0.9217 MB / 5.172 GB, free: 72.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/9.995, allocations: 1.305 MB / 5.173 GB, free: 70.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/9.995, allocations: 0 / 5.173 GB, free: 70.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.538e-05/9.995, allocations: 4 kB / 5.173 GB, free: 70.79 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/9.995, allocations: 53.8 kB / 5.173 GB, free: 70.74 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004219/9.999, allocations: 5.019 MB / 5.178 GB, free: 65.47 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/10, allocations: 313 kB / 5.178 GB, free: 65.14 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/10, allocations: 246.7 kB / 5.178 GB, free: 64.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000777/10, allocations: 1.075 MB / 5.18 GB, free: 63.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/10, allocations: 46.7 kB / 5.18 GB, free: 63.55 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 3.095e-06/10, allocations: 0 / 5.18 GB, free: 63.55 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001741/10, allocations: 0.5628 MB / 5.18 GB, free: 62.98 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/10, allocations: 85.05 kB / 5.18 GB, free: 62.88 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/10, allocations: 0.559 MB / 5.181 GB, free: 62.31 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/10, allocations: 29.7 kB / 5.181 GB, free: 62.28 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/10, allocations: 466.7 kB / 5.181 GB, free: 61.81 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/10, allocations: 86.66 kB / 5.181 GB, free: 61.73 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/10, allocations: 0 / 5.181 GB, free: 61.73 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.491e-05/10, allocations: 321.9 kB / 5.182 GB, free: 61.41 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/10, allocations: 151.9 kB / 5.182 GB, free: 61.26 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/10, allocations: 321.8 kB / 5.182 GB, free: 60.88 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/10, allocations: 235.8 kB / 5.182 GB, free: 60.65 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/10, allocations: 0 / 5.182 GB, free: 60.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006906/10, allocations: 0.5003 MB / 5.183 GB, free: 60.14 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/10, allocations: 8 kB / 5.183 GB, free: 60.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/10.01, allocations: 0 / 5.183 GB, free: 60.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/10.01, allocations: 8 kB / 5.183 GB, free: 60.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/10.01, allocations: 63.91 kB / 5.183 GB, free: 60.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/10.01, allocations: 11.88 kB / 5.183 GB, free: 60.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/10.01, allocations: 31.98 kB / 5.183 GB, free: 60.02 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/10.01, allocations: 28 kB / 5.183 GB, free: 60 MB / 1.151 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.579e-05/10.01, allocations: 116.8 kB / 5.183 GB, free: 59.88 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/10.01, allocations: 79.05 kB / 5.183 GB, free: 59.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/10.01, allocations: 325.9 kB / 5.183 GB, free: 59.46 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/10.01, allocations: 4 kB / 5.183 GB, free: 59.46 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/10.01, allocations: 3.984 kB / 5.183 GB, free: 59.46 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/10.01, allocations: 0 / 5.183 GB, free: 59.46 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/10.01, allocations: 2.348 MB / 5.186 GB, free: 56.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/10.01, allocations: 8 kB / 5.186 GB, free: 56.94 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/10.01, allocations: 52.02 kB / 5.186 GB, free: 56.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/10.01, allocations: 15.92 kB / 5.186 GB, free: 56.87 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/10.01, allocations: 8 kB / 5.186 GB, free: 56.86 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/10.01, allocations: 11.98 kB / 5.186 GB, free: 56.85 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/10.01, allocations: 7.938 kB / 5.186 GB, free: 56.84 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005473/10.01, allocations: 0.8427 MB / 5.187 GB, free: 55.75 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/10.01, allocations: 204.1 kB / 5.187 GB, free: 55.54 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/10.01, allocations: 11.98 kB / 5.187 GB, free: 55.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/10.01, allocations: 11.94 kB / 5.187 GB, free: 55.51 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/10.01, allocations: 39.67 kB / 5.187 GB, free: 55.47 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/10.01, allocations: 16 kB / 5.187 GB, free: 55.46 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004303/10.01, allocations: 471.1 kB / 5.187 GB, free: 55 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001687/10.01, allocations: 0.4986 MB / 5.188 GB, free: 54.5 MB / 1.151 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.00372/10.02, allocations: 2.446 MB / 5.19 GB, free: 51.97 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000505/10.02, allocations: 347.4 kB / 5.191 GB, free: 51.63 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/10.02, allocations: 4.5 kB / 5.191 GB, free: 51.63 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/10.02, allocations: 147.8 kB / 5.191 GB, free: 51.48 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/10.02, allocations: 426.1 kB / 5.191 GB, free: 51.08 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/10.02, allocations: 1.449 MB / 5.193 GB, free: 49.52 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007254/10.02, allocations: 1.28 MB / 5.194 GB, free: 48.21 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/10.02, allocations: 4 kB / 5.194 GB, free: 48.21 MB / 1.151 GB Notification: Performance of Templates: time 0.03547/10.06, allocations: 25.69 MB / 5.219 GB, free: 22.62 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches