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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 192.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.902/2.902, allocations: 0.4893 GB / 0.7884 GB, free: 33.06 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,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") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 69.14 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3131, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2215/0.5346, allocations: 215.3 MB / 1.526 GB, free: 1.562 MB / 1.217 GB
Notification: Performance of NFInst.instExpressions: time 0.01482/0.5494, allocations: 12.28 MB / 1.538 GB, free: 5.25 MB / 1.232 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.5505, allocations: 63.38 kB / 1.538 GB, free: 5.188 MB / 1.232 GB
Notification: Performance of NFTyping.typeComponents: time 0.001128/0.5516, allocations: 0.5196 MB / 1.539 GB, free: 4.664 MB / 1.232 GB
Notification: Performance of NFTyping.typeBindings: time 0.004147/0.5557, allocations: 1.98 MB / 1.541 GB, free: 2.676 MB / 1.232 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00416/0.5599, allocations: 2.018 MB / 1.543 GB, free: 0.6641 MB / 1.232 GB
Notification: Performance of NFFlatten.flatten: time 0.002691/0.5626, allocations: 2.395 MB / 1.545 GB, free: 14.26 MB / 1.248 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.5638, allocations: 0.8616 MB / 1.546 GB, free: 13.38 MB / 1.248 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.005779/0.5696, allocations: 3.072 MB / 1.549 GB, free: 10.29 MB / 1.248 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000913/0.5705, allocations: 0.6885 MB / 1.55 GB, free: 9.602 MB / 1.248 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.5706, allocations: 88 kB / 1.55 GB, free: 9.516 MB / 1.248 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004407/0.575, allocations: 2.651 MB / 1.552 GB, free: 6.859 MB / 1.248 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004953/0.5755, allocations: 0.557 MB / 1.553 GB, free: 6.301 MB / 1.248 GB
Notification: Performance of NFVerifyModel.verify: time 0.0007315/0.5762, allocations: 0.7386 MB / 1.554 GB, free: 5.559 MB / 1.248 GB
Notification: Performance of NFConvertDAE.convert: time 0.003914/0.5801, allocations: 3.123 MB / 1.557 GB, free: 2.426 MB / 1.248 GB
Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5801, allocations: 3.938 kB / 1.557 GB, free: 2.422 MB / 1.248 GB
Notification: Performance of FrontEnd: time 1.152e-06/0.5801, allocations: 0 / 1.557 GB, free: 2.422 MB / 1.248 GB
Notification: Performance of Transformations before backend: time 1.6e-05/0.5802, allocations: 3.938 kB / 1.557 GB, free: 2.418 MB / 1.248 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.002287/0.5824, allocations: 1.717 MB / 1.558 GB, free: 0.6602 MB / 1.248 GB
Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.5825, allocations: 8.031 kB / 1.558 GB, free: 0.6523 MB / 1.248 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.584, allocations: 382.6 kB / 1.559 GB, free: 284 kB / 1.248 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.5856, allocations: 0.8985 MB / 1.56 GB, free: 15.35 MB / 1.264 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.459e-05/0.5857, allocations: 74.06 kB / 1.56 GB, free: 15.27 MB / 1.264 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.5858, allocations: 104 kB / 1.56 GB, free: 15.17 MB / 1.264 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.5879, allocations: 1.534 MB / 1.561 GB, free: 13.53 MB / 1.264 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.5879, allocations: 11.94 kB / 1.561 GB, free: 13.52 MB / 1.264 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.954e-05/0.588, allocations: 44 kB / 1.561 GB, free: 13.48 MB / 1.264 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.198e-05/0.5881, allocations: 65.56 kB / 1.561 GB, free: 13.41 MB / 1.264 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.5895, allocations: 1.025 MB / 1.562 GB, free: 12.39 MB / 1.264 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.006002/0.5955, allocations: 5.657 MB / 1.568 GB, free: 6.461 MB / 1.264 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.5961, allocations: 310.2 kB / 1.568 GB, free: 6.121 MB / 1.264 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.5964, allocations: 235.4 kB / 1.568 GB, free: 5.879 MB / 1.264 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004275/0.5968, allocations: 107.9 kB / 1.568 GB, free: 5.773 MB / 1.264 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.5968, allocations: 46.81 kB / 1.569 GB, free: 5.719 MB / 1.264 GB
Notification: Performance of pre-optimization done (n=28): time 1.933e-06/0.5968, allocations: 3.938 kB / 1.569 GB, free: 5.715 MB / 1.264 GB
Notification: Performance of matching and sorting (n=28): time 0.001257/0.5981, allocations: 0.6685 MB / 1.569 GB, free: 5.039 MB / 1.264 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/0.5982, allocations: 140.6 kB / 1.569 GB, free: 4.871 MB / 1.264 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.6002, allocations: 1.686 MB / 1.571 GB, free: 3.176 MB / 1.264 GB
Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.6002, allocations: 29.7 kB / 1.571 GB, free: 3.141 MB / 1.264 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005095/0.6008, allocations: 0.5623 MB / 1.572 GB, free: 2.574 MB / 1.264 GB
Notification: Performance of collectInitialBindings (initialization): time 8.07e-05/0.6008, allocations: 99.16 kB / 1.572 GB, free: 2.477 MB / 1.264 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.6009, allocations: 73.64 kB / 1.572 GB, free: 2.398 MB / 1.264 GB
Notification: Performance of setup shared object (initialization): time 0.0001231/0.6011, allocations: 314 kB / 1.572 GB, free: 2.086 MB / 1.264 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.6013, allocations: 155.9 kB / 1.572 GB, free: 1.934 MB / 1.264 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.6016, allocations: 272.5 kB / 1.572 GB, free: 1.637 MB / 1.264 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/0.6021, allocations: 408.2 kB / 1.573 GB, free: 1.207 MB / 1.264 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6021, allocations: 0 / 1.573 GB, free: 1.207 MB / 1.264 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.000739/0.6028, allocations: 0.5512 MB / 1.573 GB, free: 0.6484 MB / 1.264 GB
Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6029, allocations: 13.39 kB / 1.573 GB, free: 0.6367 MB / 1.264 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.6029, allocations: 4 kB / 1.573 GB, free: 0.6328 MB / 1.264 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.6029, allocations: 4 kB / 1.573 GB, free: 0.6289 MB / 1.264 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.6031, allocations: 47.92 kB / 1.573 GB, free: 0.582 MB / 1.264 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.6031, allocations: 7.938 kB / 1.573 GB, free: 0.5742 MB / 1.264 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/0.6036, allocations: 111 kB / 1.574 GB, free: 476 kB / 1.264 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.6036, allocations: 28 kB / 1.574 GB, free: 448 kB / 1.264 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.0004429/0.604, allocations: 377.6 kB / 1.574 GB, free: 60 kB / 1.264 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.6043, allocations: 155.1 kB / 1.574 GB, free: 15.9 MB / 1.279 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005551/0.6048, allocations: 385.7 kB / 1.574 GB, free: 15.5 MB / 1.279 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6048, allocations: 96 / 1.574 GB, free: 15.5 MB / 1.279 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.6048, allocations: 11.73 kB / 1.574 GB, free: 15.5 MB / 1.279 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.6049, allocations: 3.984 kB / 1.574 GB, free: 15.49 MB / 1.279 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.6081, allocations: 2.346 MB / 1.577 GB, free: 13.01 MB / 1.279 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.6081, allocations: 8 kB / 1.577 GB, free: 13 MB / 1.279 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.6083, allocations: 51.86 kB / 1.577 GB, free: 12.95 MB / 1.279 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.6083, allocations: 8 kB / 1.577 GB, free: 12.94 MB / 1.279 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.6083, allocations: 12 kB / 1.577 GB, free: 12.93 MB / 1.279 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.6083, allocations: 11.98 kB / 1.577 GB, free: 12.92 MB / 1.279 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.6083, allocations: 7.938 kB / 1.577 GB, free: 12.91 MB / 1.279 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.609, allocations: 0.6328 MB / 1.577 GB, free: 12.18 MB / 1.279 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000459/0.6095, allocations: 238.8 kB / 1.578 GB, free: 11.95 MB / 1.279 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.6096, allocations: 12 kB / 1.578 GB, free: 11.93 MB / 1.279 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.61, allocations: 12 kB / 1.578 GB, free: 11.92 MB / 1.279 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.61, allocations: 31.84 kB / 1.578 GB, free: 11.89 MB / 1.279 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.61, allocations: 24 kB / 1.578 GB, free: 11.87 MB / 1.279 GB
Notification: Performance of sorting global known variables: time 0.001484/0.6115, allocations: 1.223 MB / 1.579 GB, free: 10.65 MB / 1.279 GB
Notification: Performance of sort global known variables: time 7e-08/0.6115, allocations: 0 / 1.579 GB, free: 10.65 MB / 1.279 GB
Notification: Performance of remove unused functions: time 0.0008703/0.6124, allocations: 331.4 kB / 1.579 GB, free: 10.32 MB / 1.279 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 (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.6137, allocations: 0.6087 MB / 1.58 GB, free: 9.715 MB / 1.279 GB
Notification: Performance of simCode: created initialization part: time 0.0005245/0.6142, allocations: 347.7 kB / 1.58 GB, free: 9.375 MB / 1.279 GB
Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.6142, allocations: 0 / 1.58 GB, free: 9.375 MB / 1.279 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.6144, allocations: 153.3 kB / 1.58 GB, free: 9.227 MB / 1.279 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/0.6175, allocations: 0.921 MB / 1.581 GB, free: 8.328 MB / 1.279 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.6202, allocations: 2.139 MB / 1.583 GB, free: 6.074 MB / 1.279 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008263/0.621, allocations: 1.212 MB / 1.585 GB, free: 4.832 MB / 1.279 GB
Notification: Performance of simCode: alias equations: time 0.0007114/0.6217, allocations: 294.7 kB / 1.585 GB, free: 4.539 MB / 1.279 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.6219, allocations: 87.44 kB / 1.585 GB, free: 4.453 MB / 1.279 GB
Notification: Performance of SimCode: time 4.91e-07/0.6219, allocations: 0 / 1.585 GB, free: 4.453 MB / 1.279 GB
Notification: Performance of Templates: time 0.6167/1.239, allocations: 31.26 MB / 1.615 GB, free: 277.9 MB / 1.295 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 800]
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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.636786821298301]