Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001349/0.001349, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001505/0.001505, allocations: 213.4 kB / 22.98 MB, free: 4.984 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.408/3.408, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_12_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_12_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.002052/0.002052, allocations: 64.69 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4232, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.3094/0.7327, allocations: 189.8 MB / 1.512 GB, free: 2.562 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.7491, allocations: 11.24 MB / 1.523 GB, free: 7.297 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.7504, allocations: 63.38 kB / 1.523 GB, free: 7.234 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.7519, allocations: 0.5352 MB / 1.524 GB, free: 6.695 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00522/0.7571, allocations: 1.902 MB / 1.526 GB, free: 4.785 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005145/0.7622, allocations: 1.971 MB / 1.528 GB, free: 2.82 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003994/0.7662, allocations: 2.395 MB / 1.53 GB, free: 424 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.7677, allocations: 0.8502 MB / 1.531 GB, free: 15.54 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006833/0.7745, allocations: 3.158 MB / 1.534 GB, free: 12.37 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.7758, allocations: 0.704 MB / 1.535 GB, free: 11.66 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.776, allocations: 92 kB / 1.535 GB, free: 11.57 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00447/0.7804, allocations: 2.086 MB / 1.537 GB, free: 9.484 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005888/0.781, allocations: 0.5531 MB / 1.537 GB, free: 8.93 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007638/0.7818, allocations: 0.591 MB / 1.538 GB, free: 8.336 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00517/0.787, allocations: 3.084 MB / 1.541 GB, free: 5.242 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.787, allocations: 0 / 1.541 GB, free: 5.242 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.643e-06/0.787, allocations: 0 / 1.541 GB, free: 5.242 MB / 1.232 GB Notification: Performance of Transformations before backend: time 4.291e-05/0.787, allocations: 0 / 1.541 GB, free: 5.242 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002926/0.7899, allocations: 1.717 MB / 1.543 GB, free: 3.484 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.79, allocations: 12.03 kB / 1.543 GB, free: 3.473 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.7918, allocations: 374.7 kB / 1.543 GB, free: 3.105 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.7937, allocations: 0.8985 MB / 1.544 GB, free: 2.176 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-05/0.7937, allocations: 86.05 kB / 1.544 GB, free: 2.09 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.7939, allocations: 103.9 kB / 1.544 GB, free: 1.988 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/0.7966, allocations: 1.987 MB / 1.546 GB, free: 15.79 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.7966, allocations: 7.938 kB / 1.546 GB, free: 15.78 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.7967, allocations: 52 kB / 1.546 GB, free: 15.73 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-05/0.7968, allocations: 61.58 kB / 1.546 GB, free: 15.67 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.7984, allocations: 1.017 MB / 1.547 GB, free: 14.65 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.006494/0.8049, allocations: 4.401 MB / 1.551 GB, free: 10.12 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.8056, allocations: 310.2 kB / 1.552 GB, free: 9.777 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.8059, allocations: 243.3 kB / 1.552 GB, free: 9.527 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004874/0.8064, allocations: 115.8 kB / 1.552 GB, free: 9.414 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.8065, allocations: 38.56 kB / 1.552 GB, free: 9.367 MB / 1.248 GB Notification: Performance of pre-optimization done (n=28): time 2.544e-06/0.8065, allocations: 3.938 kB / 1.552 GB, free: 9.363 MB / 1.248 GB Notification: Performance of matching and sorting (n=28): time 0.001307/0.8078, allocations: 0.6106 MB / 1.553 GB, free: 8.746 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/0.8079, allocations: 136.5 kB / 1.553 GB, free: 8.582 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009165/0.8088, allocations: 0.6886 MB / 1.553 GB, free: 7.879 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.8088, allocations: 33.83 kB / 1.553 GB, free: 7.84 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005191/0.8094, allocations: 0.613 MB / 1.554 GB, free: 7.219 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.8095, allocations: 103.1 kB / 1.554 GB, free: 7.117 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.8096, allocations: 61.7 kB / 1.554 GB, free: 7.051 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.8097, allocations: 321.9 kB / 1.555 GB, free: 6.73 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.81, allocations: 163.8 kB / 1.555 GB, free: 6.57 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.8104, allocations: 418.7 kB / 1.555 GB, free: 6.094 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.811, allocations: 404.3 kB / 1.555 GB, free: 5.668 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.811, allocations: 0 / 1.555 GB, free: 5.668 MB / 1.248 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007266/0.8117, allocations: 0.4935 MB / 1.556 GB, free: 5.168 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8117, allocations: 4 kB / 1.556 GB, free: 5.164 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.8118, allocations: 4.094 kB / 1.556 GB, free: 5.16 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.8118, allocations: 7.984 kB / 1.556 GB, free: 5.152 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.812, allocations: 55.92 kB / 1.556 GB, free: 5.098 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.812, allocations: 4.188 kB / 1.556 GB, free: 5.094 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.8123, allocations: 31.81 kB / 1.556 GB, free: 5.062 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.8124, allocations: 16 kB / 1.556 GB, free: 5.047 MB / 1.248 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.0005448/0.8129, allocations: 384.8 kB / 1.556 GB, free: 4.664 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.8131, allocations: 79.48 kB / 1.557 GB, free: 4.586 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.8136, allocations: 317.7 kB / 1.557 GB, free: 4.258 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.8136, allocations: 4 kB / 1.557 GB, free: 4.254 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8136, allocations: 0 / 1.557 GB, free: 4.254 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.8136, allocations: 11.88 kB / 1.557 GB, free: 4.242 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/0.8172, allocations: 2.152 MB / 1.559 GB, free: 1.969 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.8172, allocations: 8 kB / 1.559 GB, free: 1.961 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.8174, allocations: 47.92 kB / 1.559 GB, free: 1.914 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.8174, allocations: 7.938 kB / 1.559 GB, free: 1.906 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.8175, allocations: 16.06 kB / 1.559 GB, free: 1.891 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.685e-05/0.8175, allocations: 19.92 kB / 1.559 GB, free: 1.871 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.8175, allocations: 7.938 kB / 1.559 GB, free: 1.863 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007606/0.8183, allocations: 0.549 MB / 1.56 GB, free: 1.219 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.8185, allocations: 123.3 kB / 1.56 GB, free: 1.098 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.8186, allocations: 12 kB / 1.56 GB, free: 1.086 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.8189, allocations: 12 kB / 1.56 GB, free: 1.074 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.8189, allocations: 43.77 kB / 1.56 GB, free: 1.031 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.819, allocations: 16 kB / 1.56 GB, free: 1.016 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006538/0.8196, allocations: 0.5029 MB / 1.56 GB, free: 0.5195 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8196, allocations: 4 kB / 1.56 GB, free: 0.5156 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001248/0.8209, allocations: 406.5 kB / 1.561 GB, free: 120 kB / 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.001434/0.8223, allocations: 0.5921 MB / 1.561 GB, free: 15.52 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0006135/0.8229, allocations: 351.4 kB / 1.562 GB, free: 15.17 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8229, allocations: 0 / 1.562 GB, free: 15.17 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.8232, allocations: 157.3 kB / 1.562 GB, free: 15.02 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.8252, allocations: 493.3 kB / 1.562 GB, free: 14.56 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.8284, allocations: 1.975 MB / 1.564 GB, free: 12.47 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007996/0.8292, allocations: 0.6201 MB / 1.565 GB, free: 11.82 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0005699/0.8298, allocations: 177 kB / 1.565 GB, free: 11.64 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.8299, allocations: 47.44 kB / 1.565 GB, free: 11.6 MB / 1.264 GB Notification: Performance of SimCode: time 1.313e-06/0.8299, allocations: 0 / 1.565 GB, free: 11.6 MB / 1.264 GB Notification: Performance of Templates: time 0.03584/0.8658, allocations: 20.24 MB / 1.585 GB, free: 7.742 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.397421072004363]