Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.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_latest_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_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.579/2.579, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001468/0.001468, allocations: 176 kB / 0.4902 GB, free: 2.234 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.732/1.732, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.00089/0.0008899, allocations: 104.5 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 11.48 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3417, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.692/7.034, allocations: 2.543 GB / 3.772 GB, free: 350.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/7.034, allocations: 88.66 kB / 3.772 GB, free: 350 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.927/11.96, allocations: 1.423 GB / 5.195 GB, free: 246.6 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.883e-06/11.96, allocations: 0 / 5.195 GB, free: 246.6 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001727/11.96, allocations: 46.52 kB / 5.195 GB, free: 246.6 MB / 1.182 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.003201/11.96, allocations: 1.447 MB / 5.196 GB, free: 245.6 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/11.96, allocations: 7.438 kB / 5.196 GB, free: 245.6 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/11.97, allocations: 343.2 kB / 5.197 GB, free: 245.5 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/11.97, allocations: 0.9248 MB / 5.198 GB, free: 245 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/11.97, allocations: 85.72 kB / 5.198 GB, free: 245 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/11.97, allocations: 104.6 kB / 5.198 GB, free: 245 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/11.97, allocations: 1.428 MB / 5.199 GB, free: 244.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/11.97, allocations: 0 / 5.199 GB, free: 244.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/11.97, allocations: 46.44 kB / 5.199 GB, free: 244.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.097e-05/11.97, allocations: 53.89 kB / 5.199 GB, free: 244.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/11.97, allocations: 0.9227 MB / 5.2 GB, free: 244.3 MB / 1.182 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.004655/11.98, allocations: 5.309 MB / 5.205 GB, free: 240.6 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/11.98, allocations: 312.8 kB / 5.206 GB, free: 240.4 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008722/11.98, allocations: 1.075 MB / 5.207 GB, free: 239.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/11.98, allocations: 42.27 kB / 5.207 GB, free: 239.1 MB / 1.182 GB Notification: Performance of pre-optimization done (n=30): time 2.755e-06/11.98, allocations: 2.344 kB / 5.207 GB, free: 239.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=30): time 0.001376/11.98, allocations: 0.7254 MB / 5.207 GB, free: 238.4 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/11.98, allocations: 81.11 kB / 5.208 GB, free: 238.3 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/11.98, allocations: 1.459 MB / 5.209 GB, free: 236.8 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/11.98, allocations: 33.7 kB / 5.209 GB, free: 236.8 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/11.98, allocations: 0.5506 MB / 5.21 GB, free: 236.2 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 6.751e-05/11.98, allocations: 102.4 kB / 5.21 GB, free: 236.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/11.98, allocations: 4 kB / 5.21 GB, free: 236.1 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 5.4e-05/11.98, allocations: 321.7 kB / 5.21 GB, free: 235.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/11.98, allocations: 151.9 kB / 5.21 GB, free: 235.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/11.98, allocations: 295.4 kB / 5.21 GB, free: 235.3 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/11.98, allocations: 186.4 kB / 5.211 GB, free: 235.1 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/11.98, allocations: 0 / 5.211 GB, free: 235.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005992/11.98, allocations: 0.5264 MB / 5.211 GB, free: 234.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/11.98, allocations: 8.688 kB / 5.211 GB, free: 234.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/11.98, allocations: 7.953 kB / 5.211 GB, free: 234.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/11.98, allocations: 4 kB / 5.211 GB, free: 234.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/11.98, allocations: 59.91 kB / 5.211 GB, free: 234.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/11.98, allocations: 3.938 kB / 5.211 GB, free: 234.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/11.98, allocations: 118.5 kB / 5.211 GB, free: 234.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/11.98, allocations: 31.7 kB / 5.211 GB, free: 234.4 MB / 1.182 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 () * Number of clocked 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 0.000422/11.98, allocations: 379.9 kB / 5.212 GB, free: 234 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/11.98, allocations: 137.5 kB / 5.212 GB, free: 233.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005549/11.98, allocations: 422.1 kB / 5.212 GB, free: 233.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/11.98, allocations: 11.05 kB / 5.212 GB, free: 233.4 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/11.98, allocations: 0 / 5.212 GB, free: 233.4 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/11.98, allocations: 7.984 kB / 5.212 GB, free: 233.4 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/11.99, allocations: 2.486 MB / 5.215 GB, free: 230.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/11.99, allocations: 15.7 kB / 5.215 GB, free: 230.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/11.99, allocations: 43.92 kB / 5.215 GB, free: 230.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/11.99, allocations: 8 kB / 5.215 GB, free: 230.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/11.99, allocations: 16 kB / 5.215 GB, free: 230.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/11.99, allocations: 15.92 kB / 5.215 GB, free: 230.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/11.99, allocations: 11.53 kB / 5.215 GB, free: 230.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006206/11.99, allocations: 0.9924 MB / 5.216 GB, free: 229.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/11.99, allocations: 311.1 kB / 5.216 GB, free: 229.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/11.99, allocations: 15.5 kB / 5.216 GB, free: 229.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/11.99, allocations: 12 kB / 5.216 GB, free: 229.1 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/11.99, allocations: 40.8 kB / 5.216 GB, free: 229.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/11.99, allocations: 20 kB / 5.216 GB, free: 229 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001245/11.99, allocations: 1.199 MB / 5.217 GB, free: 227.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.6e-07/11.99, allocations: 0 / 5.217 GB, free: 227.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.00174/11.99, allocations: 0.515 MB / 5.218 GB, free: 227.3 MB / 1.182 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.003184/12, allocations: 2.062 MB / 5.22 GB, free: 225.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0005503/12, allocations: 347.4 kB / 5.22 GB, free: 225.2 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 6.391e-06/12, allocations: 4 kB / 5.22 GB, free: 225.2 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/12, allocations: 161.5 kB / 5.22 GB, free: 225 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/12, allocations: 0.8416 MB / 5.221 GB, free: 224.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/12, allocations: 2.295 MB / 5.223 GB, free: 221.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/12, allocations: 1.228 MB / 5.225 GB, free: 220.6 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.0008575/12, allocations: 301.5 kB / 5.225 GB, free: 220.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/12, allocations: 83.44 kB / 5.225 GB, free: 220.2 MB / 1.182 GB Notification: Performance of SimCode: time 1.142e-06/12, allocations: 0 / 5.225 GB, free: 220.2 MB / 1.182 GB Notification: Performance of Templates: time 0.06342/12.07, allocations: 50.89 MB / 5.275 GB, free: 170.1 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches