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.215/2.215, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001088/0.001088, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001066/0.001066, allocations: 91.95 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.294e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3347, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.57/7.905, allocations: 2.543 GB / 3.761 GB, free: 138.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/7.905, allocations: 79.95 kB / 3.761 GB, free: 138.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.359/13.26, allocations: 1.423 GB / 5.185 GB, free: 18.85 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.148e-06/13.26, allocations: 0 / 5.185 GB, free: 18.85 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003106/13.26, allocations: 43.92 kB / 5.185 GB, free: 18.8 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.006744/13.27, allocations: 1.309 MB / 5.186 GB, free: 17.45 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/13.27, allocations: 8.031 kB / 5.186 GB, free: 17.44 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/13.27, allocations: 345.8 kB / 5.186 GB, free: 17.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/13.28, allocations: 0.9236 MB / 5.187 GB, free: 16.13 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/13.28, allocations: 82.05 kB / 5.187 GB, free: 16.05 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000474/13.28, allocations: 104 kB / 5.187 GB, free: 15.95 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/13.28, allocations: 1.406 MB / 5.189 GB, free: 14.44 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/13.28, allocations: 3.938 kB / 5.189 GB, free: 14.44 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/13.28, allocations: 47.98 kB / 5.189 GB, free: 14.39 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-05/13.28, allocations: 53.86 kB / 5.189 GB, free: 14.34 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/13.28, allocations: 0.909 MB / 5.19 GB, free: 13.43 MB / 1.167 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.006203/13.29, allocations: 5.305 MB / 5.195 GB, free: 7.887 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/13.29, allocations: 317 kB / 5.195 GB, free: 7.559 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/13.29, allocations: 245.5 kB / 5.195 GB, free: 7.312 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008795/13.29, allocations: 1.079 MB / 5.196 GB, free: 6.012 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/13.29, allocations: 38.56 kB / 5.196 GB, free: 5.965 MB / 1.167 GB Notification: Performance of pre-optimization done (n=30): time 2.965e-06/13.29, allocations: 0 / 5.196 GB, free: 5.965 MB / 1.167 GB Notification: Performance of matching and sorting (n=30): time 0.001436/13.29, allocations: 0.5642 MB / 5.197 GB, free: 5.395 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/13.29, allocations: 92.98 kB / 5.197 GB, free: 5.285 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/13.29, allocations: 1.439 MB / 5.199 GB, free: 3.84 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.1e-05/13.29, allocations: 33.7 kB / 5.199 GB, free: 3.801 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/13.29, allocations: 0.5505 MB / 5.199 GB, free: 3.246 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.73e-05/13.29, allocations: 106.4 kB / 5.199 GB, free: 3.141 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/13.29, allocations: 4 kB / 5.199 GB, free: 3.137 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.64e-05/13.3, allocations: 322 kB / 5.2 GB, free: 2.816 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/13.3, allocations: 143.9 kB / 5.2 GB, free: 2.676 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/13.3, allocations: 295.3 kB / 5.2 GB, free: 2.332 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/13.3, allocations: 183.8 kB / 5.2 GB, free: 2.152 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/13.3, allocations: 4 kB / 5.2 GB, free: 2.148 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007544/13.3, allocations: 0.5267 MB / 5.201 GB, free: 1.613 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/13.3, allocations: 8 kB / 5.201 GB, free: 1.605 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/13.3, allocations: 0 / 5.201 GB, free: 1.605 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/13.3, allocations: 4 kB / 5.201 GB, free: 1.602 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/13.3, allocations: 55.91 kB / 5.201 GB, free: 1.547 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/13.3, allocations: 4 kB / 5.201 GB, free: 1.543 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008305/13.3, allocations: 114.7 kB / 5.201 GB, free: 1.43 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.012e-05/13.3, allocations: 28 kB / 5.201 GB, free: 1.402 MB / 1.167 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 0.0001479/13.3, allocations: 128.9 kB / 5.201 GB, free: 1.27 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/13.3, allocations: 138.3 kB / 5.201 GB, free: 1.133 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007242/13.3, allocations: 431.7 kB / 5.201 GB, free: 0.6875 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/13.3, allocations: 4 kB / 5.201 GB, free: 0.6836 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/13.3, allocations: 0 / 5.201 GB, free: 0.6836 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/13.3, allocations: 3.984 kB / 5.201 GB, free: 0.6797 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003863/13.3, allocations: 2.489 MB / 5.204 GB, free: 14.01 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/13.3, allocations: 8 kB / 5.204 GB, free: 14 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/13.3, allocations: 51.86 kB / 5.204 GB, free: 13.95 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/13.3, allocations: 12.75 kB / 5.204 GB, free: 13.94 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/13.3, allocations: 12 kB / 5.204 GB, free: 13.93 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/13.3, allocations: 15.98 kB / 5.204 GB, free: 13.91 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/13.3, allocations: 11.94 kB / 5.204 GB, free: 13.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/13.3, allocations: 0.9987 MB / 5.205 GB, free: 12.64 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/13.3, allocations: 303.2 kB / 5.205 GB, free: 12.32 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002796/13.31, allocations: 12 kB / 5.205 GB, free: 12.31 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/13.31, allocations: 20 kB / 5.205 GB, free: 12.29 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/13.31, allocations: 35.81 kB / 5.205 GB, free: 12.26 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/13.31, allocations: 16 kB / 5.205 GB, free: 12.24 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001855/13.31, allocations: 1.191 MB / 5.207 GB, free: 11.05 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.7e-07/13.31, allocations: 0 / 5.207 GB, free: 11.05 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.002163/13.31, allocations: 0.4996 MB / 5.207 GB, free: 10.55 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 () * 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.004714/13.31, allocations: 2.063 MB / 5.209 GB, free: 8.398 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0006389/13.32, allocations: 342.8 kB / 5.209 GB, free: 8.066 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/13.32, allocations: 0 / 5.209 GB, free: 8.066 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/13.32, allocations: 153.2 kB / 5.21 GB, free: 7.918 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004163/13.32, allocations: 0.852 MB / 5.21 GB, free: 7.07 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/13.32, allocations: 1.624 MB / 5.212 GB, free: 5.336 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/13.32, allocations: 1.24 MB / 5.213 GB, free: 4.066 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001232/13.33, allocations: 290.6 kB / 5.213 GB, free: 3.777 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/13.33, allocations: 83.44 kB / 5.213 GB, free: 3.695 MB / 1.182 GB Notification: Performance of SimCode: time 1.192e-06/13.33, allocations: 0 / 5.213 GB, free: 3.695 MB / 1.182 GB Notification: Performance of Templates: time 0.9324/14.26, allocations: 56.49 MB / 5.269 GB, free: 237.3 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