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.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.001842/0.001842, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002301/0.002301, allocations: 189.5 kB / 22.23 MB, free: 5.137 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.508/1.508, allocations: 225.6 MB / 251 MB, free: 13.05 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.785/2.785, allocations: 476.7 MB / 0.7646 GB, free: 9.902 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_11_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_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003037/0.003037, allocations: 71.83 kB / 1.11 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8873/0.8903, allocations: 168.8 MB / 1.274 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2586/1.149, allocations: 215.3 MB / 1.485 GB, free: 12.15 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01773/1.167, allocations: 12.27 MB / 1.497 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/1.168, allocations: 63.38 kB / 1.497 GB, free: 15.78 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/1.169, allocations: 0.5196 MB / 1.497 GB, free: 15.25 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005556/1.175, allocations: 1.983 MB / 1.499 GB, free: 13.27 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005414/1.18, allocations: 2.013 MB / 1.501 GB, free: 11.26 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004049/1.184, allocations: 2.391 MB / 1.503 GB, free: 8.859 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/1.186, allocations: 0.8618 MB / 1.504 GB, free: 7.977 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/1.188, allocations: 0.8484 MB / 1.505 GB, free: 7.125 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/1.189, allocations: 0.7079 MB / 1.506 GB, free: 6.414 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001434/1.189, allocations: 92 kB / 1.506 GB, free: 6.324 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005644/1.194, allocations: 2.875 MB / 1.509 GB, free: 3.441 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006371/1.195, allocations: 0.557 MB / 1.509 GB, free: 2.883 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008793/1.196, allocations: 0.7386 MB / 1.51 GB, free: 2.141 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005249/1.201, allocations: 3.115 MB / 1.513 GB, free: 15.02 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/1.201, allocations: 0 / 1.513 GB, free: 15.02 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.944e-06/1.201, allocations: 0 / 1.513 GB, free: 15.02 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.286e-05/1.201, allocations: 0 / 1.513 GB, free: 15.02 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.00281/1.204, allocations: 1.725 MB / 1.515 GB, free: 13.25 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.204, allocations: 12.03 kB / 1.515 GB, free: 13.24 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/1.206, allocations: 382.5 kB / 1.515 GB, free: 12.86 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/1.208, allocations: 0.9023 MB / 1.516 GB, free: 11.93 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.746e-05/1.208, allocations: 78.06 kB / 1.516 GB, free: 11.86 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/1.208, allocations: 100 kB / 1.516 GB, free: 11.76 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/1.21, allocations: 1.533 MB / 1.518 GB, free: 10.11 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/1.21, allocations: 3.938 kB / 1.518 GB, free: 10.11 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/1.21, allocations: 52 kB / 1.518 GB, free: 10.05 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-05/1.211, allocations: 61.56 kB / 1.518 GB, free: 9.996 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/1.212, allocations: 1.025 MB / 1.519 GB, free: 8.973 MB / 1.217 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.006726/1.219, allocations: 5.649 MB / 1.524 GB, free: 3.055 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006556/1.22, allocations: 306.2 kB / 1.524 GB, free: 2.719 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/1.22, allocations: 243.3 kB / 1.525 GB, free: 2.469 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004772/1.22, allocations: 116.2 kB / 1.525 GB, free: 2.355 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/1.22, allocations: 42.48 kB / 1.525 GB, free: 2.305 MB / 1.217 GB Notification: Performance of pre-optimization done (n=28): time 2.404e-06/1.22, allocations: 0 / 1.525 GB, free: 2.305 MB / 1.217 GB Notification: Performance of matching and sorting (n=28): time 0.001446/1.222, allocations: 0.676 MB / 1.526 GB, free: 1.621 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.222, allocations: 136.5 kB / 1.526 GB, free: 1.457 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/1.224, allocations: 1.686 MB / 1.527 GB, free: 15.76 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/1.224, allocations: 29.7 kB / 1.527 GB, free: 15.73 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/1.225, allocations: 0.5701 MB / 1.528 GB, free: 15.15 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 9.235e-05/1.225, allocations: 99.3 kB / 1.528 GB, free: 15.05 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/1.225, allocations: 65.66 kB / 1.528 GB, free: 14.98 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.225, allocations: 318 kB / 1.528 GB, free: 14.67 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/1.226, allocations: 159.9 kB / 1.528 GB, free: 14.51 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/1.226, allocations: 272.4 kB / 1.529 GB, free: 14.21 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/1.226, allocations: 416.2 kB / 1.529 GB, free: 13.78 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.226, allocations: 3.938 kB / 1.529 GB, free: 13.77 MB / 1.232 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000863/1.227, allocations: 0.5439 MB / 1.53 GB, free: 13.22 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.227, allocations: 4 kB / 1.53 GB, free: 13.22 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.227, allocations: 4 kB / 1.53 GB, free: 13.21 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.227, allocations: 4 kB / 1.53 GB, free: 13.21 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/1.228, allocations: 55.91 kB / 1.53 GB, free: 13.16 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/1.228, allocations: 8.281 kB / 1.53 GB, free: 13.15 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/1.228, allocations: 115 kB / 1.53 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/1.228, allocations: 27.92 kB / 1.53 GB, free: 13.01 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.0005349/1.229, allocations: 381.5 kB / 1.53 GB, free: 12.62 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/1.229, allocations: 143.1 kB / 1.53 GB, free: 12.48 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006515/1.23, allocations: 384.8 kB / 1.531 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.23, allocations: 4 kB / 1.531 GB, free: 12.08 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.23, allocations: 7.938 kB / 1.531 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.23, allocations: 0 / 1.531 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/1.233, allocations: 2.343 MB / 1.533 GB, free: 9.594 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.233, allocations: 8 kB / 1.533 GB, free: 9.586 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/1.234, allocations: 59.91 kB / 1.533 GB, free: 9.527 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/1.234, allocations: 8 kB / 1.533 GB, free: 9.52 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/1.234, allocations: 12 kB / 1.533 GB, free: 9.508 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/1.234, allocations: 8 kB / 1.533 GB, free: 9.5 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/1.234, allocations: 7.938 kB / 1.533 GB, free: 9.492 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/1.234, allocations: 0.633 MB / 1.534 GB, free: 8.762 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005792/1.235, allocations: 230.9 kB / 1.534 GB, free: 8.535 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/1.235, allocations: 15.98 kB / 1.534 GB, free: 8.52 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/1.236, allocations: 8.062 kB / 1.534 GB, free: 8.512 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/1.236, allocations: 43.84 kB / 1.534 GB, free: 8.469 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/1.236, allocations: 16 kB / 1.534 GB, free: 8.453 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0017/1.237, allocations: 1.223 MB / 1.535 GB, free: 7.234 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.237, allocations: 0 / 1.535 GB, free: 7.234 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001008/1.238, allocations: 331.4 kB / 1.536 GB, free: 6.91 MB / 1.232 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.001523/1.24, allocations: 0.6187 MB / 1.536 GB, free: 6.289 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006375/1.241, allocations: 347.8 kB / 1.537 GB, free: 5.949 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.241, allocations: 0 / 1.537 GB, free: 5.949 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/1.241, allocations: 160.9 kB / 1.537 GB, free: 5.793 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/1.244, allocations: 0.9209 MB / 1.538 GB, free: 4.898 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/1.247, allocations: 2.127 MB / 1.54 GB, free: 2.66 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009644/1.248, allocations: 1.212 MB / 1.541 GB, free: 1.418 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009011/1.249, allocations: 294.8 kB / 1.541 GB, free: 1.125 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/1.25, allocations: 83.38 kB / 1.541 GB, free: 1.043 MB / 1.232 GB Notification: Performance of SimCode: time 1.122e-06/1.25, allocations: 0 / 1.541 GB, free: 1.043 MB / 1.232 GB Notification: Performance of Templates: time 0.05534/1.305, allocations: 31.27 MB / 1.572 GB, free: 2.121 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 400] 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/jenkins/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: 10.474929985590279]