Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.001313/0.001313, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001496/0.001496, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.891/2.891, allocations: 476.7 MB / 0.7715 GB, free: 4.266 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.BoundaryWithX_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_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.002105/0.002105, allocations: 64.45 kB / 1.118 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3636, allocations: 169.9 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2754/0.639, allocations: 218.3 MB / 1.497 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01901/0.658, allocations: 12.28 MB / 1.509 GB, free: 4.293 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.6598, allocations: 59.44 kB / 1.509 GB, free: 4.234 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.6613, allocations: 0.5235 MB / 1.51 GB, free: 3.707 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0055/0.6668, allocations: 1.979 MB / 1.512 GB, free: 1.723 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005257/0.6721, allocations: 2.027 MB / 1.514 GB, free: 15.7 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004053/0.6761, allocations: 2.395 MB / 1.516 GB, free: 13.3 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.6779, allocations: 0.8618 MB / 1.517 GB, free: 12.42 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.68, allocations: 0.8483 MB / 1.518 GB, free: 11.57 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.6817, allocations: 0.7119 MB / 1.518 GB, free: 10.85 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003731/0.6821, allocations: 95.94 kB / 1.519 GB, free: 10.76 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007462/0.6896, allocations: 2.894 MB / 1.521 GB, free: 7.855 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.6906, allocations: 0.5609 MB / 1.522 GB, free: 7.293 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.6918, allocations: 0.727 MB / 1.523 GB, free: 6.562 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006796/0.6986, allocations: 3.126 MB / 1.526 GB, free: 3.426 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.6986, allocations: 7.984 kB / 1.526 GB, free: 3.418 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6986, allocations: 0 / 1.526 GB, free: 3.418 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.628e-05/0.6987, allocations: 0 / 1.526 GB, free: 3.418 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002935/0.7016, allocations: 1.721 MB / 1.527 GB, free: 1.656 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.7017, allocations: 8.031 kB / 1.527 GB, free: 1.648 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.112e-05/0.7017, allocations: 26.06 kB / 1.527 GB, free: 1.621 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002114/0.7019, allocations: 176.7 kB / 1.528 GB, free: 1.438 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.7038, allocations: 378.7 kB / 1.528 GB, free: 1.066 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.7057, allocations: 0.8985 MB / 1.529 GB, free: 144 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.7058, allocations: 74.06 kB / 1.529 GB, free: 68 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.706, allocations: 100.1 kB / 1.529 GB, free: 15.96 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.7084, allocations: 1.533 MB / 1.531 GB, free: 14.32 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.7085, allocations: 7.938 kB / 1.531 GB, free: 14.31 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.7086, allocations: 55.84 kB / 1.531 GB, free: 14.26 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.49e-05/0.7087, allocations: 61.64 kB / 1.531 GB, free: 14.2 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.7102, allocations: 1.021 MB / 1.532 GB, free: 13.18 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.007439/0.7177, allocations: 5.638 MB / 1.537 GB, free: 7.273 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.7183, allocations: 322.1 kB / 1.537 GB, free: 6.922 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.7186, allocations: 239.4 kB / 1.538 GB, free: 6.676 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005053/0.7191, allocations: 107.9 kB / 1.538 GB, free: 6.57 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.7192, allocations: 42.5 kB / 1.538 GB, free: 6.52 MB / 1.232 GB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/0.7192, allocations: 0 / 1.538 GB, free: 6.52 MB / 1.232 GB Notification: Performance of matching and sorting (n=28): time 0.001579/0.7208, allocations: 0.6806 MB / 1.538 GB, free: 5.832 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.873e-05/0.7209, allocations: 144.4 kB / 1.539 GB, free: 5.66 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/0.7233, allocations: 1.678 MB / 1.54 GB, free: 3.973 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.597e-05/0.7234, allocations: 33.7 kB / 1.54 GB, free: 3.934 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005625/0.7239, allocations: 0.5584 MB / 1.541 GB, free: 3.371 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.724, allocations: 107.1 kB / 1.541 GB, free: 3.266 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.7242, allocations: 61.69 kB / 1.541 GB, free: 3.199 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.7243, allocations: 318 kB / 1.541 GB, free: 2.883 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.7246, allocations: 163.9 kB / 1.541 GB, free: 2.723 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.7249, allocations: 266.2 kB / 1.542 GB, free: 2.434 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.7254, allocations: 408.9 kB / 1.542 GB, free: 2.004 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.7255, allocations: 4 kB / 1.542 GB, free: 2 MB / 1.232 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009327/0.7264, allocations: 0.5549 MB / 1.543 GB, free: 1.438 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.7264, allocations: 8 kB / 1.543 GB, free: 1.43 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.7264, allocations: 0 / 1.543 GB, free: 1.43 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.7264, allocations: 4 kB / 1.543 GB, free: 1.426 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.7267, allocations: 59.84 kB / 1.543 GB, free: 1.367 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.7267, allocations: 4 kB / 1.543 GB, free: 1.363 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006344/0.7273, allocations: 114.9 kB / 1.543 GB, free: 1.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.7274, allocations: 19.98 kB / 1.543 GB, free: 1.23 MB / 1.232 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.0005965/0.728, allocations: 381.8 kB / 1.543 GB, free: 0.8477 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.7282, allocations: 143.1 kB / 1.543 GB, free: 0.707 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006345/0.7289, allocations: 389 kB / 1.544 GB, free: 312 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.7289, allocations: 7.938 kB / 1.544 GB, free: 304 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7289, allocations: 0 / 1.544 GB, free: 304 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.7289, allocations: 0 / 1.544 GB, free: 304 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003821/0.7327, allocations: 2.358 MB / 1.546 GB, free: 13.8 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.7327, allocations: 4 kB / 1.546 GB, free: 13.8 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.7329, allocations: 51.91 kB / 1.546 GB, free: 13.75 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.7329, allocations: 8 kB / 1.546 GB, free: 13.74 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.7329, allocations: 12 kB / 1.546 GB, free: 13.73 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.7329, allocations: 12.56 kB / 1.546 GB, free: 13.71 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/0.733, allocations: 20 kB / 1.546 GB, free: 13.7 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.7338, allocations: 0.6333 MB / 1.547 GB, free: 12.96 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.7343, allocations: 222.9 kB / 1.547 GB, free: 12.75 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.7345, allocations: 12 kB / 1.547 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.7348, allocations: 19.92 kB / 1.547 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.7349, allocations: 39.84 kB / 1.547 GB, free: 12.68 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.7349, allocations: 12 kB / 1.547 GB, free: 12.66 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001657/0.7366, allocations: 1.231 MB / 1.548 GB, free: 11.44 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.7366, allocations: 0 / 1.548 GB, free: 11.44 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001117/0.7377, allocations: 335.4 kB / 1.549 GB, free: 11.11 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.002423/0.7401, allocations: 1.655 MB / 1.55 GB, free: 9.348 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0006743/0.7408, allocations: 343.2 kB / 1.551 GB, free: 9.016 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.7408, allocations: 0 / 1.551 GB, free: 9.016 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.741, allocations: 157.2 kB / 1.551 GB, free: 8.863 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003945/0.7449, allocations: 0.9259 MB / 1.552 GB, free: 7.965 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.7603, allocations: 10.52 MB / 1.562 GB, free: 13.09 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009482/0.7613, allocations: 1.22 MB / 1.563 GB, free: 11.84 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.000957/0.7622, allocations: 306.6 kB / 1.563 GB, free: 11.54 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006203/0.7629, allocations: 463.2 kB / 1.564 GB, free: 11.09 MB / 1.264 GB Notification: Performance of SimCode: time 7.21e-07/0.7629, allocations: 0 / 1.564 GB, free: 11.09 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8095/1.572, allocations: 44.46 MB / 1.607 GB, free: 313.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.89, allocations: 8.938 kB / 1.607 GB, free: 313.7 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 23.039647035999224]