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.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.001805/0.001805, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.002381/0.002381, allocations: 221.8 kB / 22.3 MB, free: 5.305 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.541/1.541, allocations: 230.6 MB / 256.1 MB, free: 7.918 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.268/3.268, allocations: 0.5107 GB / 0.8159 GB, free: 17.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: 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: 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.002053/0.002053, allocations: 66.69 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.393, allocations: 181.9 MB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2619/0.6549, allocations: 189.8 MB / 1.549 GB, free: 14.96 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.6731, allocations: 11.24 MB / 1.56 GB, free: 3.695 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.6749, allocations: 63.38 kB / 1.56 GB, free: 3.633 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.6765, allocations: 0.5275 MB / 1.561 GB, free: 3.102 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005863/0.6824, allocations: 1.914 MB / 1.563 GB, free: 1.18 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005074/0.6875, allocations: 1.928 MB / 1.565 GB, free: 15.25 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003615/0.6911, allocations: 2.387 MB / 1.567 GB, free: 12.86 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.6926, allocations: 0.8501 MB / 1.568 GB, free: 11.98 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00782/0.7004, allocations: 3.166 MB / 1.571 GB, free: 8.809 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.7017, allocations: 0.6767 MB / 1.572 GB, free: 8.129 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.7018, allocations: 92 kB / 1.572 GB, free: 8.039 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004914/0.7068, allocations: 2.053 MB / 1.574 GB, free: 5.98 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0006533/0.7074, allocations: 0.5531 MB / 1.574 GB, free: 5.426 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0008762/0.7083, allocations: 0.591 MB / 1.575 GB, free: 4.832 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005645/0.7139, allocations: 3.084 MB / 1.578 GB, free: 1.738 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.7139, allocations: 0 / 1.578 GB, free: 1.738 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7139, allocations: 0 / 1.578 GB, free: 1.738 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.714, allocations: 0 / 1.578 GB, free: 1.738 MB / 1.264 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.002847/0.7168, allocations: 1.717 MB / 1.579 GB, free: 15.98 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.7169, allocations: 8.031 kB / 1.579 GB, free: 15.97 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.7187, allocations: 386.6 kB / 1.58 GB, free: 15.59 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.7204, allocations: 0.8985 MB / 1.581 GB, free: 14.66 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.81e-05/0.7205, allocations: 74.06 kB / 1.581 GB, free: 14.59 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.7207, allocations: 104 kB / 1.581 GB, free: 14.49 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.7235, allocations: 1.981 MB / 1.583 GB, free: 12.29 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.7235, allocations: 7.938 kB / 1.583 GB, free: 12.28 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.7236, allocations: 44 kB / 1.583 GB, free: 12.24 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.7237, allocations: 65.58 kB / 1.583 GB, free: 12.18 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.7253, allocations: 1.025 MB / 1.584 GB, free: 11.15 MB / 1.279 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.006034/0.7314, allocations: 4.401 MB / 1.588 GB, free: 6.617 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/0.732, allocations: 310.1 kB / 1.588 GB, free: 6.277 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.7324, allocations: 247.3 kB / 1.589 GB, free: 6.023 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004643/0.7328, allocations: 111.9 kB / 1.589 GB, free: 5.914 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.7329, allocations: 42.5 kB / 1.589 GB, free: 5.863 MB / 1.279 GB Notification: Performance of pre-optimization done (n=28): time 3.036e-06/0.7329, allocations: 0 / 1.589 GB, free: 5.863 MB / 1.279 GB Notification: Performance of matching and sorting (n=28): time 0.001292/0.7342, allocations: 0.6104 MB / 1.589 GB, free: 5.246 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.623e-05/0.7343, allocations: 136.5 kB / 1.59 GB, free: 5.082 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009189/0.7352, allocations: 0.6925 MB / 1.59 GB, free: 4.379 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.7352, allocations: 33.7 kB / 1.59 GB, free: 4.34 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005628/0.7358, allocations: 0.6051 MB / 1.591 GB, free: 3.727 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.7359, allocations: 103.2 kB / 1.591 GB, free: 3.625 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.736, allocations: 69.64 kB / 1.591 GB, free: 3.551 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.7362, allocations: 318 kB / 1.591 GB, free: 3.234 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.7364, allocations: 167.9 kB / 1.592 GB, free: 3.07 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004606/0.7369, allocations: 419.2 kB / 1.592 GB, free: 2.594 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.7375, allocations: 412.2 kB / 1.592 GB, free: 2.16 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7375, allocations: 0 / 1.592 GB, free: 2.16 MB / 1.279 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007706/0.7383, allocations: 0.4897 MB / 1.593 GB, free: 1.664 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.7383, allocations: 8 kB / 1.593 GB, free: 1.656 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.7383, allocations: 0 / 1.593 GB, free: 1.656 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.7383, allocations: 4 kB / 1.593 GB, free: 1.652 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.7386, allocations: 55.92 kB / 1.593 GB, free: 1.598 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.7386, allocations: 4 kB / 1.593 GB, free: 1.594 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.7389, allocations: 31.77 kB / 1.593 GB, free: 1.562 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.7389, allocations: 16 kB / 1.593 GB, free: 1.547 MB / 1.279 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.0006256/0.7396, allocations: 385.7 kB / 1.593 GB, free: 1.16 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.7397, allocations: 79.48 kB / 1.593 GB, free: 1.082 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005609/0.7403, allocations: 317.8 kB / 1.594 GB, free: 0.7539 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.7403, allocations: 4 kB / 1.594 GB, free: 0.75 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.7403, allocations: 0 / 1.594 GB, free: 0.75 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.7403, allocations: 4 kB / 1.594 GB, free: 0.7461 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/0.744, allocations: 2.16 MB / 1.596 GB, free: 14.46 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.744, allocations: 8.156 kB / 1.596 GB, free: 14.46 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.7443, allocations: 51.92 kB / 1.596 GB, free: 14.41 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.7443, allocations: 11.94 kB / 1.596 GB, free: 14.39 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.7443, allocations: 12 kB / 1.596 GB, free: 14.38 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-05/0.7443, allocations: 19.86 kB / 1.596 GB, free: 14.36 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.7443, allocations: 11.94 kB / 1.596 GB, free: 14.35 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008566/0.7452, allocations: 0.5608 MB / 1.596 GB, free: 13.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.7454, allocations: 123.4 kB / 1.597 GB, free: 13.57 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.672e-05/0.7455, allocations: 12 kB / 1.597 GB, free: 13.56 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.7458, allocations: 12 kB / 1.597 GB, free: 13.55 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.7458, allocations: 39.77 kB / 1.597 GB, free: 13.51 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.7459, allocations: 20 kB / 1.597 GB, free: 13.49 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007086/0.7466, allocations: 0.5029 MB / 1.597 GB, free: 13 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/0.7466, allocations: 0 / 1.597 GB, free: 13 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001374/0.748, allocations: 410.5 kB / 1.598 GB, free: 12.59 MB / 1.295 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.001491/0.7494, allocations: 0.5992 MB / 1.598 GB, free: 11.99 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0006829/0.7501, allocations: 340.4 kB / 1.598 GB, free: 11.66 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7501, allocations: 4 kB / 1.598 GB, free: 11.65 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.7504, allocations: 157.2 kB / 1.599 GB, free: 11.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.7526, allocations: 487.9 kB / 1.599 GB, free: 11.04 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.7562, allocations: 1.975 MB / 1.601 GB, free: 8.953 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008311/0.757, allocations: 0.6201 MB / 1.602 GB, free: 8.301 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0006358/0.7576, allocations: 181 kB / 1.602 GB, free: 8.125 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.7577, allocations: 44.5 kB / 1.602 GB, free: 8.082 MB / 1.295 GB Notification: Performance of SimCode: time 1.082e-06/0.7577, allocations: 0 / 1.602 GB, free: 8.082 MB / 1.295 GB Notification: Performance of Templates: time 0.7354/1.493, allocations: 18.26 MB / 1.62 GB, free: 244.2 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: 11.130673062056303]