Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.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_9_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_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.001/2.001, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001039/0.001039, allocations: 176.6 kB / 487.4 MB, free: 5.043 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.283/1.283, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 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.0008922/0.0008921, allocations: 110.3 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.64e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2522, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.661/5.914, allocations: 2.541 GB / 3.747 GB, free: 190.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/5.914, allocations: 79.2 kB / 3.747 GB, free: 190.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.618/10.53, allocations: 1.404 GB / 5.151 GB, free: 80.11 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.413e-06/10.53, allocations: 3.391 kB / 5.151 GB, free: 80.11 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001334/10.53, allocations: 43.98 kB / 5.151 GB, free: 80.06 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002962/10.54, allocations: 1.309 MB / 5.153 GB, free: 78.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/10.54, allocations: 11.31 kB / 5.153 GB, free: 78.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/10.54, allocations: 337.9 kB / 5.153 GB, free: 78.36 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/10.54, allocations: 0.9236 MB / 5.154 GB, free: 77.39 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/10.54, allocations: 32 kB / 5.154 GB, free: 77.36 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/10.54, allocations: 60 kB / 5.154 GB, free: 77.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001219/10.54, allocations: 0.8514 MB / 5.155 GB, free: 76.45 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/10.54, allocations: 1.246 MB / 5.156 GB, free: 75.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/10.54, allocations: 4 kB / 5.156 GB, free: 75.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/10.54, allocations: 0 / 5.156 GB, free: 75.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.735e-05/10.54, allocations: 57.8 kB / 5.156 GB, free: 75.04 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004164/10.55, allocations: 4.942 MB / 5.161 GB, free: 69.84 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/10.55, allocations: 253.1 kB / 5.161 GB, free: 69.58 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/10.55, allocations: 217.9 kB / 5.161 GB, free: 69.36 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006047/10.55, allocations: 0.8968 MB / 5.162 GB, free: 68.28 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/10.55, allocations: 42.5 kB / 5.162 GB, free: 68.23 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/10.55, allocations: 0 / 5.162 GB, free: 68.23 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001272/10.55, allocations: 496.4 kB / 5.163 GB, free: 67.74 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/10.55, allocations: 81.11 kB / 5.163 GB, free: 67.64 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/10.55, allocations: 0.5512 MB / 5.163 GB, free: 67.08 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/10.55, allocations: 25.7 kB / 5.163 GB, free: 67.05 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/10.55, allocations: 0.6039 MB / 5.164 GB, free: 66.44 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/10.55, allocations: 86.88 kB / 5.164 GB, free: 66.35 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/10.55, allocations: 0 / 5.164 GB, free: 66.35 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.679e-05/10.55, allocations: 321.9 kB / 5.164 GB, free: 66.03 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/10.55, allocations: 140.7 kB / 5.165 GB, free: 65.89 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/10.55, allocations: 284.8 kB / 5.165 GB, free: 65.56 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/10.55, allocations: 219.8 kB / 5.165 GB, free: 65.35 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/10.55, allocations: 0 / 5.165 GB, free: 65.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006125/10.55, allocations: 480.3 kB / 5.165 GB, free: 64.87 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/10.55, allocations: 8 kB / 5.165 GB, free: 64.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/10.55, allocations: 0 / 5.165 GB, free: 64.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/10.55, allocations: 8.188 kB / 5.165 GB, free: 64.86 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/10.55, allocations: 55.92 kB / 5.166 GB, free: 64.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/10.55, allocations: 11.92 kB / 5.166 GB, free: 64.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/10.55, allocations: 19.84 kB / 5.166 GB, free: 64.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/10.55, allocations: 28.08 kB / 5.166 GB, free: 64.74 MB / 1.151 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 8.338e-05/10.55, allocations: 112.9 kB / 5.166 GB, free: 64.62 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/10.55, allocations: 90.91 kB / 5.166 GB, free: 64.54 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/10.55, allocations: 294 kB / 5.166 GB, free: 64.23 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/10.55, allocations: 4 kB / 5.166 GB, free: 64.23 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/10.55, allocations: 0 / 5.166 GB, free: 64.23 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/10.55, allocations: 0 / 5.166 GB, free: 64.23 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/10.55, allocations: 2.315 MB / 5.168 GB, free: 61.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/10.55, allocations: 4.812 kB / 5.168 GB, free: 61.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/10.55, allocations: 51.91 kB / 5.168 GB, free: 61.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/10.55, allocations: 12 kB / 5.168 GB, free: 61.68 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/10.55, allocations: 8 kB / 5.168 GB, free: 61.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/10.55, allocations: 11.94 kB / 5.168 GB, free: 61.66 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/10.55, allocations: 11.94 kB / 5.168 GB, free: 61.65 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/10.56, allocations: 0.8238 MB / 5.169 GB, free: 60.58 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/10.56, allocations: 204 kB / 5.169 GB, free: 60.36 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-05/10.56, allocations: 8 kB / 5.169 GB, free: 60.36 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/10.56, allocations: 19.84 kB / 5.169 GB, free: 60.34 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/10.56, allocations: 43.75 kB / 5.17 GB, free: 60.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/10.56, allocations: 16 kB / 5.17 GB, free: 60.28 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003778/10.56, allocations: 467.1 kB / 5.17 GB, free: 59.82 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/10.56, allocations: 3.938 kB / 5.17 GB, free: 59.82 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001286/10.56, allocations: 0.5024 MB / 5.17 GB, free: 59.32 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.00322/10.56, allocations: 2.369 MB / 5.173 GB, free: 56.86 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000371/10.56, allocations: 319.6 kB / 5.173 GB, free: 56.54 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/10.56, allocations: 0 / 5.173 GB, free: 56.54 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/10.56, allocations: 148.1 kB / 5.173 GB, free: 56.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/10.56, allocations: 451 kB / 5.174 GB, free: 55.97 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/10.57, allocations: 1.444 MB / 5.175 GB, free: 54.42 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/10.57, allocations: 1.241 MB / 5.176 GB, free: 53.15 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005419/10.57, allocations: 181.1 kB / 5.176 GB, free: 52.97 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.046e-05/10.57, allocations: 47.44 kB / 5.176 GB, free: 52.93 MB / 1.151 GB Notification: Performance of SimCode: time 3.31e-07/10.57, allocations: 0 / 5.176 GB, free: 52.93 MB / 1.151 GB Notification: Performance of Templates: time 0.0318/10.6, allocations: 25.22 MB / 5.201 GB, free: 27.81 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches