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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 111 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 469.4 MB / 0.7428 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 56.12 kB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.7302, allocations: 159.1 MB / 1.221 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2023/0.9326, allocations: 214.1 MB / 1.43 GB, free: 11.43 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.9461, allocations: 12.17 MB / 1.442 GB, free: 15.23 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.9475, allocations: 43.75 kB / 1.442 GB, free: 15.19 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.9486, allocations: 0.5157 MB / 1.442 GB, free: 14.67 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004125/0.9528, allocations: 1.958 MB / 1.444 GB, free: 12.7 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.9569, allocations: 1.935 MB / 1.446 GB, free: 10.77 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002471/0.9593, allocations: 2.348 MB / 1.448 GB, free: 8.418 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.9607, allocations: 1.232 MB / 1.45 GB, free: 7.16 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.9618, allocations: 0.8366 MB / 1.45 GB, free: 6.32 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007128/0.9626, allocations: 0.6651 MB / 1.451 GB, free: 5.652 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.9627, allocations: 88 kB / 1.451 GB, free: 5.566 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004813/0.9675, allocations: 2.715 MB / 1.454 GB, free: 2.844 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.00048/0.968, allocations: 0.5493 MB / 1.454 GB, free: 2.293 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007246/0.9687, allocations: 0.7308 MB / 1.455 GB, free: 1.559 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003912/0.9727, allocations: 3.109 MB / 1.458 GB, free: 14.44 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.9727, allocations: 0 / 1.458 GB, free: 14.44 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9727, allocations: 4 kB / 1.458 GB, free: 14.44 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.9727, allocations: 0 / 1.458 GB, free: 14.44 MB / 1.186 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.002086/0.9748, allocations: 1.74 MB / 1.46 GB, free: 12.64 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.9749, allocations: 8.625 kB / 1.46 GB, free: 12.63 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.9765, allocations: 381.8 kB / 1.46 GB, free: 12.26 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.978, allocations: 0.958 MB / 1.461 GB, free: 11.26 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.608e-05/0.978, allocations: 78.06 kB / 1.461 GB, free: 11.18 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.9782, allocations: 104 kB / 1.461 GB, free: 11.08 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.9801, allocations: 1.529 MB / 1.463 GB, free: 9.441 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.9801, allocations: 11.94 kB / 1.463 GB, free: 9.43 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.385e-05/0.9802, allocations: 44 kB / 1.463 GB, free: 9.387 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.101e-05/0.9803, allocations: 61.48 kB / 1.463 GB, free: 9.328 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.9816, allocations: 1.021 MB / 1.464 GB, free: 8.305 MB / 1.186 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.005409/0.9871, allocations: 5.848 MB / 1.47 GB, free: 2.141 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.9876, allocations: 318.2 kB / 1.47 GB, free: 1.793 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.9879, allocations: 255.3 kB / 1.47 GB, free: 1.531 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006452/0.9885, allocations: 0.7038 MB / 1.471 GB, free: 0.6797 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.9886, allocations: 46.5 kB / 1.471 GB, free: 0.625 MB / 1.186 GB Notification: Performance of pre-optimization done (n=28): time 2.765e-06/0.9886, allocations: 0 / 1.471 GB, free: 0.625 MB / 1.186 GB Notification: Performance of matching and sorting (n=28): time 0.001248/0.9898, allocations: 0.66 MB / 1.472 GB, free: 15.96 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.9899, allocations: 140.6 kB / 1.472 GB, free: 15.79 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.9917, allocations: 1.686 MB / 1.473 GB, free: 14.09 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.9918, allocations: 33.7 kB / 1.473 GB, free: 14.05 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/0.9923, allocations: 0.5544 MB / 1.474 GB, free: 13.5 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/0.9924, allocations: 98.55 kB / 1.474 GB, free: 13.4 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.9925, allocations: 69.69 kB / 1.474 GB, free: 13.32 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.9926, allocations: 314 kB / 1.474 GB, free: 13.01 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.9928, allocations: 163.8 kB / 1.475 GB, free: 12.85 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.9931, allocations: 272.5 kB / 1.475 GB, free: 12.55 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.9935, allocations: 408.9 kB / 1.475 GB, free: 12.12 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9936, allocations: 0 / 1.475 GB, free: 12.12 MB / 1.201 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006786/0.9942, allocations: 0.5463 MB / 1.476 GB, free: 11.57 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.9943, allocations: 12.19 kB / 1.476 GB, free: 11.56 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.9943, allocations: 3.984 kB / 1.476 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.9943, allocations: 4.094 kB / 1.476 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.9945, allocations: 55.91 kB / 1.476 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.9945, allocations: 4 kB / 1.476 GB, free: 11.49 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.995, allocations: 110.5 kB / 1.476 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.9951, allocations: 20 kB / 1.476 GB, free: 11.36 MB / 1.201 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004141/0.9955, allocations: 377.6 kB / 1.476 GB, free: 10.98 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.9957, allocations: 142.2 kB / 1.476 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005424/0.9963, allocations: 389.4 kB / 1.477 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.9963, allocations: 3.984 kB / 1.477 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9963, allocations: 3.938 kB / 1.477 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/0.9967, allocations: 283.2 kB / 1.477 GB, free: 10.14 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.9969, allocations: 7.938 kB / 1.477 GB, free: 10.13 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.9973, allocations: 4 kB / 1.477 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.9973, allocations: 19.98 kB / 1.477 GB, free: 10.11 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005368/0.9979, allocations: 0.55 MB / 1.478 GB, free: 9.547 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006347/0.9985, allocations: 0.7619 MB / 1.478 GB, free: 8.762 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000174/0.9987, allocations: 147.8 kB / 1.479 GB, free: 8.617 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001389/1, allocations: 1.215 MB / 1.48 GB, free: 7.406 MB / 1.201 GB Notification: Performance of Backend: time 2.585e-06/1, allocations: 0 / 1.48 GB, free: 7.406 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002965/1.003, allocations: 1.069 MB / 1.481 GB, free: 6.34 MB / 1.201 GB Notification: Performance of SimCode: time 0.005385/1.008, allocations: 3.187 MB / 1.484 GB, free: 3.125 MB / 1.201 GB Notification: Performance of Templates: time 0.0987/1.107, allocations: 35.98 MB / 1.519 GB, free: 15.44 MB / 1.248 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches