Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.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.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_latest_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_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.451/2.451, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001215/0.001215, allocations: 183.9 kB / 0.4902 GB, free: 2.281 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.661/1.661, allocations: 223.1 MB / 0.7992 GB, free: 14.62 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.0009464/0.0009463, allocations: 94.95 kB / 0.9396 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003905, allocations: 10.5 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.656/6.982, allocations: 2.543 GB / 3.772 GB, free: 285.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/6.982, allocations: 90.78 kB / 3.772 GB, free: 285.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.079/12.06, allocations: 1.423 GB / 5.195 GB, free: 179.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.395e-06/12.06, allocations: 4 kB / 5.195 GB, free: 179.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001442/12.06, allocations: 39.98 kB / 5.195 GB, free: 179.6 MB / 1.167 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.0032/12.07, allocations: 1.439 MB / 5.196 GB, free: 178.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/12.07, allocations: 12.03 kB / 5.196 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/12.07, allocations: 330 kB / 5.197 GB, free: 177.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/12.07, allocations: 0.9197 MB / 5.198 GB, free: 176.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/12.07, allocations: 81.98 kB / 5.198 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/12.07, allocations: 100 kB / 5.198 GB, free: 176.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/12.07, allocations: 1.409 MB / 5.199 GB, free: 175.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/12.07, allocations: 7.922 kB / 5.199 GB, free: 175.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/12.07, allocations: 48 kB / 5.199 GB, free: 175.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/12.07, allocations: 41.88 kB / 5.199 GB, free: 175 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/12.07, allocations: 0.9245 MB / 5.2 GB, free: 174.1 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004468/12.08, allocations: 5.281 MB / 5.205 GB, free: 168.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/12.08, allocations: 313 kB / 5.206 GB, free: 168.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008309/12.08, allocations: 1.087 MB / 5.207 GB, free: 167 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/12.08, allocations: 38.55 kB / 5.207 GB, free: 166.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/12.08, allocations: 0 / 5.207 GB, free: 166.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=30): time 0.001299/12.08, allocations: 0.7245 MB / 5.207 GB, free: 166.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/12.08, allocations: 85.09 kB / 5.207 GB, free: 166.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/12.08, allocations: 1.431 MB / 5.209 GB, free: 164.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/12.08, allocations: 37.7 kB / 5.209 GB, free: 164.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/12.08, allocations: 0.5463 MB / 5.209 GB, free: 164 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/12.08, allocations: 98.55 kB / 5.21 GB, free: 163.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/12.08, allocations: 4 kB / 5.21 GB, free: 163.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.866e-05/12.08, allocations: 318 kB / 5.21 GB, free: 163.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/12.08, allocations: 159.9 kB / 5.21 GB, free: 163.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/12.08, allocations: 310 kB / 5.21 GB, free: 163.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/12.08, allocations: 195.8 kB / 5.21 GB, free: 162.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/12.08, allocations: 0 / 5.21 GB, free: 162.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005999/12.08, allocations: 0.5503 MB / 5.211 GB, free: 162.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/12.08, allocations: 4 kB / 5.211 GB, free: 162.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/12.08, allocations: 4 kB / 5.211 GB, free: 162.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/12.08, allocations: 7.953 kB / 5.211 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/12.08, allocations: 63.91 kB / 5.211 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/12.08, allocations: 4.25 kB / 5.211 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/12.08, allocations: 118.5 kB / 5.211 GB, free: 162.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/12.08, allocations: 31.98 kB / 5.211 GB, free: 162.1 MB / 1.167 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 () * Number of clocked 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 0.000376/12.08, allocations: 375.6 kB / 5.212 GB, free: 161.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/12.08, allocations: 134.3 kB / 5.212 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005371/12.08, allocations: 426.9 kB / 5.212 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/12.08, allocations: 7.953 kB / 5.212 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/12.08, allocations: 3.938 kB / 5.212 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/12.08, allocations: 0 / 5.212 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/12.09, allocations: 2.485 MB / 5.215 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/12.09, allocations: 8 kB / 5.215 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/12.09, allocations: 52.69 kB / 5.215 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/12.09, allocations: 8 kB / 5.215 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/12.09, allocations: 15.98 kB / 5.215 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/12.09, allocations: 19.92 kB / 5.215 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/12.09, allocations: 11.94 kB / 5.215 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/12.09, allocations: 0.9835 MB / 5.216 GB, free: 157.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/12.09, allocations: 303.2 kB / 5.216 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/12.09, allocations: 12 kB / 5.216 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/12.09, allocations: 16 kB / 5.216 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/12.09, allocations: 39.8 kB / 5.216 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/12.09, allocations: 20 kB / 5.216 GB, free: 156.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001256/12.09, allocations: 1.183 MB / 5.217 GB, free: 155.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.11e-07/12.09, allocations: 0 / 5.217 GB, free: 155.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00185/12.09, allocations: 0.5074 MB / 5.218 GB, free: 155.1 MB / 1.167 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 () * Number of clocked 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.003145/12.1, allocations: 2.065 MB / 5.22 GB, free: 152.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004907/12.1, allocations: 356.4 kB / 5.22 GB, free: 152.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/12.1, allocations: 0 / 5.22 GB, free: 152.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/12.1, allocations: 153.5 kB / 5.22 GB, free: 152.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/12.1, allocations: 0.842 MB / 5.221 GB, free: 151.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/12.1, allocations: 2.287 MB / 5.223 GB, free: 149.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/12.1, allocations: 1.236 MB / 5.224 GB, free: 147.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008335/12.1, allocations: 286.4 kB / 5.225 GB, free: 147.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/12.1, allocations: 83.42 kB / 5.225 GB, free: 147.5 MB / 1.167 GB Notification: Performance of SimCode: time 5.91e-07/12.1, allocations: 0 / 5.225 GB, free: 147.5 MB / 1.167 GB Notification: Performance of Templates: time 0.06077/12.16, allocations: 50.83 MB / 5.274 GB, free: 96.85 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches