Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001342/0.001342, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001573/0.001573, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.894/2.894, allocations: 476.7 MB / 0.7715 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_11_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.001964/0.001964, allocations: 61.59 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.358, allocations: 170 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2676/0.6256, allocations: 218.3 MB / 1.497 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02004/0.6456, allocations: 12.29 MB / 1.509 GB, free: 4.293 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/0.6477, allocations: 67.38 kB / 1.509 GB, free: 4.227 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.6495, allocations: 0.5119 MB / 1.51 GB, free: 3.711 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005988/0.6555, allocations: 1.983 MB / 1.512 GB, free: 1.723 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005692/0.6612, allocations: 2.013 MB / 1.514 GB, free: 15.71 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004059/0.6652, allocations: 2.426 MB / 1.516 GB, free: 13.28 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.6671, allocations: 0.8459 MB / 1.517 GB, free: 12.41 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.6694, allocations: 0.8562 MB / 1.518 GB, free: 11.55 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.6709, allocations: 0.7119 MB / 1.519 GB, free: 10.84 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003367/0.6712, allocations: 88 kB / 1.519 GB, free: 10.75 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006746/0.678, allocations: 2.894 MB / 1.521 GB, free: 7.852 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008938/0.6789, allocations: 0.5453 MB / 1.522 GB, free: 7.305 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.6804, allocations: 0.7347 MB / 1.523 GB, free: 6.566 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.007212/0.6876, allocations: 3.095 MB / 1.526 GB, free: 3.461 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6876, allocations: 4 kB / 1.526 GB, free: 3.457 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6876, allocations: 0 / 1.526 GB, free: 3.457 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.592e-05/0.6877, allocations: 4 kB / 1.526 GB, free: 3.453 MB / 1.217 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.004173/0.6919, allocations: 1.705 MB / 1.527 GB, free: 1.707 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.6919, allocations: 8.031 kB / 1.527 GB, free: 1.699 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.122e-05/0.692, allocations: 26.03 kB / 1.527 GB, free: 1.672 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003778/0.6924, allocations: 176.6 kB / 1.528 GB, free: 1.488 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/0.6945, allocations: 382.6 kB / 1.528 GB, free: 1.113 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.6966, allocations: 0.8907 MB / 1.529 GB, free: 200 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.732e-05/0.6967, allocations: 81.97 kB / 1.529 GB, free: 116 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.6969, allocations: 100 kB / 1.529 GB, free: 16 kB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.6997, allocations: 1.501 MB / 1.53 GB, free: 14.4 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.6997, allocations: 7.938 kB / 1.53 GB, free: 14.39 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.6998, allocations: 47.94 kB / 1.53 GB, free: 14.35 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.259e-05/0.6999, allocations: 65.47 kB / 1.531 GB, free: 14.29 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.7016, allocations: 1.013 MB / 1.532 GB, free: 13.27 MB / 1.232 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.007396/0.709, allocations: 5.613 MB / 1.537 GB, free: 7.391 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/0.7096, allocations: 322.1 kB / 1.537 GB, free: 7.039 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.7099, allocations: 235.4 kB / 1.538 GB, free: 6.797 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/0.7104, allocations: 112.2 kB / 1.538 GB, free: 6.688 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/0.7105, allocations: 38.56 kB / 1.538 GB, free: 6.641 MB / 1.232 GB Notification: Performance of pre-optimization done (n=28): time 2.284e-06/0.7105, allocations: 3.938 kB / 1.538 GB, free: 6.637 MB / 1.232 GB Notification: Performance of matching and sorting (n=28): time 0.001476/0.712, allocations: 0.6689 MB / 1.538 GB, free: 5.961 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.7121, allocations: 144.4 kB / 1.539 GB, free: 5.789 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/0.7144, allocations: 1.662 MB / 1.54 GB, free: 4.117 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 9.601e-05/0.7144, allocations: 33.7 kB / 1.54 GB, free: 4.078 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000565/0.715, allocations: 0.5465 MB / 1.541 GB, free: 3.527 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/0.7151, allocations: 95.17 kB / 1.541 GB, free: 3.434 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.7152, allocations: 73.64 kB / 1.541 GB, free: 3.355 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7154, allocations: 325.8 kB / 1.541 GB, free: 3.031 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.7156, allocations: 167.9 kB / 1.541 GB, free: 2.867 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.716, allocations: 282.2 kB / 1.542 GB, free: 2.555 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/0.7166, allocations: 446 kB / 1.542 GB, free: 2.082 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7166, allocations: 0 / 1.542 GB, free: 2.082 MB / 1.232 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009352/0.7175, allocations: 0.5706 MB / 1.543 GB, free: 1.504 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.7175, allocations: 4 kB / 1.543 GB, free: 1.5 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.7175, allocations: 8 kB / 1.543 GB, free: 1.492 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.7176, allocations: 4 kB / 1.543 GB, free: 1.488 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.7178, allocations: 55.92 kB / 1.543 GB, free: 1.434 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.7178, allocations: 8.234 kB / 1.543 GB, free: 1.426 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.7185, allocations: 107 kB / 1.543 GB, free: 1.32 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/0.7185, allocations: 23.94 kB / 1.543 GB, free: 1.297 MB / 1.232 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.0005742/0.7191, allocations: 381.5 kB / 1.543 GB, free: 0.9141 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.7194, allocations: 143.1 kB / 1.543 GB, free: 0.7734 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007454/0.7201, allocations: 380.8 kB / 1.544 GB, free: 384 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.7201, allocations: 8 kB / 1.544 GB, free: 376 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.7202, allocations: 3.938 kB / 1.544 GB, free: 372 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.7202, allocations: 7.984 kB / 1.544 GB, free: 364 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/0.7244, allocations: 2.327 MB / 1.546 GB, free: 13.89 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.7244, allocations: 8 kB / 1.546 GB, free: 13.88 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.7247, allocations: 63.94 kB / 1.546 GB, free: 13.82 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.7247, allocations: 7.938 kB / 1.546 GB, free: 13.81 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.7247, allocations: 12 kB / 1.546 GB, free: 13.8 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.7247, allocations: 8 kB / 1.546 GB, free: 13.79 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.956e-06/0.7247, allocations: 7.938 kB / 1.546 GB, free: 13.79 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008396/0.7255, allocations: 0.6331 MB / 1.547 GB, free: 13.05 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005376/0.7261, allocations: 226.9 kB / 1.547 GB, free: 12.83 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.7263, allocations: 16 kB / 1.547 GB, free: 12.82 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.7266, allocations: 8 kB / 1.547 GB, free: 12.81 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.7267, allocations: 39.83 kB / 1.547 GB, free: 12.77 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.7267, allocations: 16 kB / 1.547 GB, free: 12.75 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001705/0.7284, allocations: 1.203 MB / 1.548 GB, free: 11.55 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.7284, allocations: 0 / 1.548 GB, free: 11.55 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001298/0.7297, allocations: 335.4 kB / 1.548 GB, free: 11.23 MB / 1.248 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.00284/0.7326, allocations: 1.662 MB / 1.55 GB, free: 9.461 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0007086/0.7333, allocations: 351 kB / 1.55 GB, free: 9.121 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.7333, allocations: 4 kB / 1.55 GB, free: 9.117 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.7335, allocations: 161.4 kB / 1.551 GB, free: 8.961 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/0.7378, allocations: 0.9064 MB / 1.551 GB, free: 8.078 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.7536, allocations: 10.44 MB / 1.562 GB, free: 13.27 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009978/0.7546, allocations: 1.204 MB / 1.563 GB, free: 12.04 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001018/0.7556, allocations: 298.6 kB / 1.563 GB, free: 11.74 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/0.7562, allocations: 459.3 kB / 1.564 GB, free: 11.3 MB / 1.264 GB Notification: Performance of SimCode: time 1.152e-06/0.7562, allocations: 0 / 1.564 GB, free: 11.3 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8121/1.568, allocations: 44.24 MB / 1.607 GB, free: 314.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/16.07, allocations: 8.188 kB / 1.607 GB, free: 314.2 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 23.248849341995083]