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.001413/0.001413, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001485/0.001485, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.494/1.494, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.92/2.92, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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.001987/0.001987, allocations: 75.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.044, allocations: 176.1 MB / 1.322 GB, free: 24.98 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2734/1.318, allocations: 217.9 MB / 1.535 GB, free: 15.26 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0177/1.335, allocations: 12.21 MB / 1.547 GB, free: 3.02 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/1.337, allocations: 67.38 kB / 1.547 GB, free: 2.953 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/1.339, allocations: 0.5236 MB / 1.547 GB, free: 2.426 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006213/1.345, allocations: 1.96 MB / 1.549 GB, free: 472 kB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005566/1.351, allocations: 1.932 MB / 1.551 GB, free: 14.54 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004014/1.355, allocations: 2.344 MB / 1.553 GB, free: 12.18 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/1.356, allocations: 1.002 MB / 1.554 GB, free: 11.16 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007632/1.364, allocations: 3.104 MB / 1.557 GB, free: 8.043 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/1.365, allocations: 0.6885 MB / 1.558 GB, free: 7.352 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/1.366, allocations: 95.94 kB / 1.558 GB, free: 7.258 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005756/1.371, allocations: 2.623 MB / 1.561 GB, free: 4.629 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000675/1.372, allocations: 0.5531 MB / 1.561 GB, free: 4.074 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/1.373, allocations: 0.7309 MB / 1.562 GB, free: 3.34 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00646/1.38, allocations: 3.13 MB / 1.565 GB, free: 204 kB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/1.38, allocations: 4 kB / 1.565 GB, free: 200 kB / 1.232 GB Notification: Performance of FrontEnd: time 1.974e-06/1.38, allocations: 0 / 1.565 GB, free: 200 kB / 1.232 GB Notification: Performance of Transformations before backend: time 2.777e-05/1.38, allocations: 0 / 1.565 GB, free: 200 kB / 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.003446/1.383, allocations: 1.792 MB / 1.567 GB, free: 14.34 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.383, allocations: 15.98 kB / 1.567 GB, free: 14.33 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/1.385, allocations: 378.7 kB / 1.567 GB, free: 13.96 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/1.386, allocations: 0.9705 MB / 1.568 GB, free: 12.95 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/1.387, allocations: 78.06 kB / 1.568 GB, free: 12.87 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/1.387, allocations: 100 kB / 1.568 GB, free: 12.77 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/1.389, allocations: 1.536 MB / 1.57 GB, free: 11.12 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/1.389, allocations: 7.938 kB / 1.57 GB, free: 11.12 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.389, allocations: 48 kB / 1.57 GB, free: 11.07 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.398e-05/1.389, allocations: 61.48 kB / 1.57 GB, free: 11.01 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/1.391, allocations: 1.025 MB / 1.571 GB, free: 9.984 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.007115/1.398, allocations: 5.865 MB / 1.577 GB, free: 3.809 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006262/1.399, allocations: 314.3 kB / 1.577 GB, free: 3.465 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/1.399, allocations: 235.3 kB / 1.577 GB, free: 3.223 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008446/1.4, allocations: 0.7116 MB / 1.578 GB, free: 2.363 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/1.4, allocations: 38.88 kB / 1.578 GB, free: 2.316 MB / 1.248 GB Notification: Performance of pre-optimization done (n=28): time 2.394e-06/1.4, allocations: 0 / 1.578 GB, free: 2.316 MB / 1.248 GB Notification: Performance of matching and sorting (n=28): time 0.001412/1.401, allocations: 0.676 MB / 1.578 GB, free: 1.633 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.401, allocations: 136.6 kB / 1.579 GB, free: 1.469 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/1.404, allocations: 1.69 MB / 1.58 GB, free: 15.77 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/1.404, allocations: 29.7 kB / 1.58 GB, free: 15.73 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.000556/1.404, allocations: 0.5546 MB / 1.581 GB, free: 15.17 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/1.404, allocations: 103 kB / 1.581 GB, free: 15.07 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/1.405, allocations: 69.69 kB / 1.581 GB, free: 15 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.405, allocations: 318 kB / 1.581 GB, free: 14.68 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/1.405, allocations: 155.9 kB / 1.581 GB, free: 14.53 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/1.405, allocations: 269.6 kB / 1.582 GB, free: 14.24 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/1.406, allocations: 404.9 kB / 1.582 GB, free: 13.81 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.406, allocations: 0 / 1.582 GB, free: 13.81 MB / 1.264 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008779/1.407, allocations: 0.559 MB / 1.583 GB, free: 13.25 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.407, allocations: 4 kB / 1.583 GB, free: 13.24 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.407, allocations: 4 kB / 1.583 GB, free: 13.24 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.407, allocations: 4 kB / 1.583 GB, free: 13.23 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/1.407, allocations: 51.92 kB / 1.583 GB, free: 13.18 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/1.407, allocations: 7.875 kB / 1.583 GB, free: 13.18 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/1.408, allocations: 114.9 kB / 1.583 GB, free: 13.06 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/1.408, allocations: 24 kB / 1.583 GB, free: 13.04 MB / 1.264 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.0005355/1.408, allocations: 386.2 kB / 1.583 GB, free: 12.65 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/1.409, allocations: 143.1 kB / 1.583 GB, free: 12.51 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006375/1.409, allocations: 385.1 kB / 1.584 GB, free: 12.11 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/1.409, allocations: 7.984 kB / 1.584 GB, free: 12.11 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/1.409, allocations: 3.938 kB / 1.584 GB, free: 12.1 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.409, allocations: 64 / 1.584 GB, free: 12.1 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003774/1.413, allocations: 2.529 MB / 1.586 GB, free: 9.391 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.413, allocations: 4 kB / 1.586 GB, free: 9.387 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/1.413, allocations: 51.91 kB / 1.586 GB, free: 9.336 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/1.413, allocations: 8.094 kB / 1.586 GB, free: 9.328 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/1.413, allocations: 15.94 kB / 1.586 GB, free: 9.312 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/1.413, allocations: 12.5 kB / 1.586 GB, free: 9.301 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/1.413, allocations: 11.98 kB / 1.586 GB, free: 9.289 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007862/1.414, allocations: 0.6392 MB / 1.587 GB, free: 8.551 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004375/1.415, allocations: 292 kB / 1.587 GB, free: 8.246 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/1.415, allocations: 19.98 kB / 1.587 GB, free: 8.227 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/1.415, allocations: 8 kB / 1.587 GB, free: 8.219 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/1.415, allocations: 39.84 kB / 1.587 GB, free: 8.18 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/1.415, allocations: 16 kB / 1.587 GB, free: 8.164 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001655/1.417, allocations: 1.223 MB / 1.588 GB, free: 6.945 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.417, allocations: 0 / 1.588 GB, free: 6.945 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001132/1.418, allocations: 335.4 kB / 1.589 GB, free: 6.617 MB / 1.264 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.00139/1.419, allocations: 0.5958 MB / 1.589 GB, free: 6.012 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0006/1.42, allocations: 342.4 kB / 1.59 GB, free: 5.68 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/1.42, allocations: 4.375 kB / 1.59 GB, free: 5.676 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/1.42, allocations: 155.7 kB / 1.59 GB, free: 5.523 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/1.424, allocations: 0.9219 MB / 1.591 GB, free: 4.629 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/1.427, allocations: 2.214 MB / 1.593 GB, free: 2.297 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009586/1.428, allocations: 1.197 MB / 1.594 GB, free: 1.07 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/1.428, allocations: 87.36 kB / 1.594 GB, free: 0.9844 MB / 1.264 GB Notification: Performance of SimCode: time 6.51e-07/1.428, allocations: 4 kB / 1.594 GB, free: 0.9805 MB / 1.264 GB Notification: Performance of Templates: time 0.04126/1.47, allocations: 25.04 MB / 1.619 GB, free: 8.109 MB / 1.295 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 -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: 17.485735146008665]