Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 223 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.021/3.021, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 64.88 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.33, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2219/0.5519, allocations: 189.6 MB / 1.512 GB, free: 3.172 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.5689, allocations: 11.23 MB / 1.523 GB, free: 7.914 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.5702, allocations: 59.38 kB / 1.523 GB, free: 7.855 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.5716, allocations: 0.5275 MB / 1.523 GB, free: 7.324 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005669/0.5772, allocations: 1.91 MB / 1.525 GB, free: 5.406 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004723/0.582, allocations: 1.972 MB / 1.527 GB, free: 3.441 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003195/0.5852, allocations: 2.426 MB / 1.529 GB, free: 1.004 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.5864, allocations: 0.8343 MB / 1.53 GB, free: 148 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006607/0.5931, allocations: 3.158 MB / 1.533 GB, free: 12.98 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.5943, allocations: 0.7001 MB / 1.534 GB, free: 12.27 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.5944, allocations: 91.94 kB / 1.534 GB, free: 12.18 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/0.5988, allocations: 2.081 MB / 1.536 GB, free: 10.1 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006262/0.5994, allocations: 0.5492 MB / 1.537 GB, free: 9.547 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000798/0.6002, allocations: 0.5833 MB / 1.537 GB, free: 8.961 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004946/0.6051, allocations: 3.056 MB / 1.54 GB, free: 5.895 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6051, allocations: 0 / 1.54 GB, free: 5.895 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6051, allocations: 4 kB / 1.54 GB, free: 5.891 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.387e-05/0.6052, allocations: 0 / 1.54 GB, free: 5.891 MB / 1.232 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.002419/0.6076, allocations: 1.709 MB / 1.542 GB, free: 4.141 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6076, allocations: 8.031 kB / 1.542 GB, free: 4.133 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.818e-05/0.6076, allocations: 29.97 kB / 1.542 GB, free: 4.102 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/0.6078, allocations: 168.6 kB / 1.542 GB, free: 3.926 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.6096, allocations: 374.7 kB / 1.542 GB, free: 3.559 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.6111, allocations: 0.8985 MB / 1.543 GB, free: 2.629 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.6112, allocations: 74.03 kB / 1.543 GB, free: 2.555 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.6113, allocations: 100 kB / 1.544 GB, free: 2.457 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.6138, allocations: 1.968 MB / 1.545 GB, free: 276 kB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.6138, allocations: 11.94 kB / 1.545 GB, free: 264 kB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.927e-05/0.6139, allocations: 47.94 kB / 1.545 GB, free: 216 kB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.139e-05/0.614, allocations: 57.48 kB / 1.546 GB, free: 160 kB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.6155, allocations: 1.017 MB / 1.547 GB, free: 15.14 MB / 1.248 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.005868/0.6213, allocations: 4.885 MB / 1.551 GB, free: 10.11 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.6219, allocations: 310.2 kB / 1.552 GB, free: 9.766 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.6222, allocations: 235.3 kB / 1.552 GB, free: 9.523 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004737/0.6227, allocations: 115.8 kB / 1.552 GB, free: 9.41 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.6227, allocations: 34.56 kB / 1.552 GB, free: 9.367 MB / 1.248 GB Notification: Performance of pre-optimization done (n=28): time 2.295e-06/0.6227, allocations: 3.938 kB / 1.552 GB, free: 9.363 MB / 1.248 GB Notification: Performance of matching and sorting (n=28): time 0.001354/0.6241, allocations: 0.6803 MB / 1.553 GB, free: 8.676 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.6241, allocations: 132.5 kB / 1.553 GB, free: 8.516 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/0.6262, allocations: 1.662 MB / 1.554 GB, free: 6.844 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.6263, allocations: 33.83 kB / 1.554 GB, free: 6.805 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/0.6268, allocations: 0.5504 MB / 1.555 GB, free: 6.25 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.6269, allocations: 99.16 kB / 1.555 GB, free: 6.152 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.627, allocations: 77.64 kB / 1.555 GB, free: 6.07 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6272, allocations: 321.9 kB / 1.555 GB, free: 5.75 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.6274, allocations: 159.9 kB / 1.556 GB, free: 5.594 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.6278, allocations: 452.2 kB / 1.556 GB, free: 5.078 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.6284, allocations: 434 kB / 1.556 GB, free: 4.617 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6284, allocations: 0 / 1.556 GB, free: 4.617 MB / 1.248 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000835/0.6292, allocations: 0.5705 MB / 1.557 GB, free: 4.039 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.6292, allocations: 11.94 kB / 1.557 GB, free: 4.027 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6292, allocations: 256 / 1.557 GB, free: 4.027 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.6292, allocations: 8 kB / 1.557 GB, free: 4.02 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.6295, allocations: 59.91 kB / 1.557 GB, free: 3.961 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.6295, allocations: 4.781 kB / 1.557 GB, free: 3.957 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.63, allocations: 107 kB / 1.557 GB, free: 3.852 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.6301, allocations: 23.92 kB / 1.557 GB, free: 3.828 MB / 1.248 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004757/0.6305, allocations: 377.6 kB / 1.558 GB, free: 3.449 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.6308, allocations: 143.1 kB / 1.558 GB, free: 3.309 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/0.6314, allocations: 389.1 kB / 1.558 GB, free: 2.906 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.6314, allocations: 8 kB / 1.558 GB, free: 2.898 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6314, allocations: 0 / 1.558 GB, free: 2.898 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.6314, allocations: 0 / 1.558 GB, free: 2.898 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.6347, allocations: 2.225 MB / 1.56 GB, free: 0.5352 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.6348, allocations: 4 kB / 1.56 GB, free: 0.5312 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.635, allocations: 55.91 kB / 1.56 GB, free: 488 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.635, allocations: 12.03 kB / 1.56 GB, free: 476 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.635, allocations: 12.7 kB / 1.56 GB, free: 464 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/0.635, allocations: 11.94 kB / 1.56 GB, free: 452 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.635, allocations: 15.94 kB / 1.56 GB, free: 436 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.6358, allocations: 0.6191 MB / 1.561 GB, free: 15.71 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.6362, allocations: 226.9 kB / 1.561 GB, free: 15.48 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.6364, allocations: 19.98 kB / 1.561 GB, free: 15.46 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.6368, allocations: 8 kB / 1.561 GB, free: 15.46 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.6368, allocations: 39.78 kB / 1.561 GB, free: 15.42 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.6369, allocations: 20 kB / 1.561 GB, free: 15.4 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001525/0.6384, allocations: 1.203 MB / 1.562 GB, free: 14.2 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6384, allocations: 0 / 1.562 GB, free: 14.2 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001023/0.6394, allocations: 335.4 kB / 1.563 GB, free: 13.87 MB / 1.264 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.002407/0.6418, allocations: 1.663 MB / 1.564 GB, free: 12.11 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.000619/0.6424, allocations: 347.5 kB / 1.565 GB, free: 11.77 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.6424, allocations: 3.938 kB / 1.565 GB, free: 11.76 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.6427, allocations: 157.2 kB / 1.565 GB, free: 11.61 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/0.6469, allocations: 0.9245 MB / 1.566 GB, free: 10.71 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/0.6618, allocations: 10.41 MB / 1.576 GB, free: 15.94 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007207/0.6625, allocations: 0.6068 MB / 1.577 GB, free: 15.3 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001018/0.6635, allocations: 298.6 kB / 1.577 GB, free: 15 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006162/0.6641, allocations: 463.3 kB / 1.577 GB, free: 14.55 MB / 1.279 GB Notification: Performance of SimCode: time 1.392e-06/0.6641, allocations: 0 / 1.577 GB, free: 14.55 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6551/1.319, allocations: 47.29 MB / 1.623 GB, free: 266.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/15.28, allocations: 10.69 kB / 1.623 GB, free: 266.5 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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: 21.871850805939175]