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.001288/0.001288, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001437/0.001437, allocations: 210.9 kB / 22.99 MB, free: 4.957 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.137/3.137, allocations: 0.49 GB / 0.7959 GB, free: 35.34 MB / 0.6231 GB " [Timeout remaining time 177] 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.002065/0.002065, allocations: 72.73 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3492, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2323/0.5815, allocations: 189.8 MB / 1.512 GB, free: 2.535 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01559/0.5971, allocations: 11.24 MB / 1.523 GB, free: 7.27 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.5985, allocations: 67.31 kB / 1.523 GB, free: 7.203 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.5999, allocations: 0.5275 MB / 1.524 GB, free: 6.672 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004784/0.6047, allocations: 1.906 MB / 1.526 GB, free: 4.758 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004718/0.6094, allocations: 1.967 MB / 1.528 GB, free: 2.797 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003211/0.6126, allocations: 2.391 MB / 1.53 GB, free: 404 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.6139, allocations: 0.854 MB / 1.531 GB, free: 15.52 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006512/0.6205, allocations: 3.158 MB / 1.534 GB, free: 12.35 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.6216, allocations: 0.6963 MB / 1.535 GB, free: 11.65 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.6217, allocations: 88 kB / 1.535 GB, free: 11.56 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004368/0.6261, allocations: 2.096 MB / 1.537 GB, free: 9.461 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005588/0.6266, allocations: 0.5531 MB / 1.537 GB, free: 8.906 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006992/0.6273, allocations: 0.5833 MB / 1.538 GB, free: 8.32 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004595/0.6319, allocations: 3.091 MB / 1.541 GB, free: 5.219 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6319, allocations: 0 / 1.541 GB, free: 5.219 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.405e-06/0.6319, allocations: 3.938 kB / 1.541 GB, free: 5.215 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.632, allocations: 0 / 1.541 GB, free: 5.215 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.002446/0.6344, allocations: 1.713 MB / 1.543 GB, free: 3.461 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.6345, allocations: 12.03 kB / 1.543 GB, free: 3.449 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.6362, allocations: 378.7 kB / 1.543 GB, free: 3.078 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.638, allocations: 0.9023 MB / 1.544 GB, free: 2.145 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.021e-05/0.638, allocations: 78.06 kB / 1.544 GB, free: 2.066 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.6382, allocations: 100 kB / 1.544 GB, free: 1.969 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.6407, allocations: 1.985 MB / 1.546 GB, free: 15.77 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.6407, allocations: 4 kB / 1.546 GB, free: 15.76 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.6408, allocations: 48 kB / 1.546 GB, free: 15.71 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.971e-05/0.6409, allocations: 65.52 kB / 1.546 GB, free: 15.65 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.6424, allocations: 1.025 MB / 1.547 GB, free: 14.62 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.005578/0.6479, allocations: 4.397 MB / 1.551 GB, free: 10.1 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.6485, allocations: 318.1 kB / 1.552 GB, free: 9.75 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.6488, allocations: 247.3 kB / 1.552 GB, free: 9.496 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004601/0.6493, allocations: 111.8 kB / 1.552 GB, free: 9.387 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.6493, allocations: 38.56 kB / 1.552 GB, free: 9.34 MB / 1.248 GB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.6493, allocations: 0 / 1.552 GB, free: 9.34 MB / 1.248 GB Notification: Performance of matching and sorting (n=28): time 0.001265/0.6506, allocations: 0.6105 MB / 1.553 GB, free: 8.723 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/0.6507, allocations: 140.5 kB / 1.553 GB, free: 8.555 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/0.6515, allocations: 0.6886 MB / 1.553 GB, free: 7.852 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.6516, allocations: 29.7 kB / 1.553 GB, free: 7.816 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004698/0.652, allocations: 0.6091 MB / 1.554 GB, free: 7.199 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 9.393e-05/0.6521, allocations: 107 kB / 1.554 GB, free: 7.094 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.6523, allocations: 65.69 kB / 1.554 GB, free: 7.023 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6524, allocations: 321.9 kB / 1.555 GB, free: 6.703 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.6526, allocations: 155.9 kB / 1.555 GB, free: 6.551 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.653, allocations: 422.7 kB / 1.555 GB, free: 6.07 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/0.6535, allocations: 404.3 kB / 1.555 GB, free: 5.645 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6535, allocations: 0 / 1.555 GB, free: 5.645 MB / 1.248 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007056/0.6542, allocations: 0.4891 MB / 1.556 GB, free: 5.148 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6543, allocations: 8.031 kB / 1.556 GB, free: 5.141 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6543, allocations: 4.781 kB / 1.556 GB, free: 5.137 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.6543, allocations: 4 kB / 1.556 GB, free: 5.133 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.6545, allocations: 51.92 kB / 1.556 GB, free: 5.082 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.6545, allocations: 7.984 kB / 1.556 GB, free: 5.074 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.6548, allocations: 23.83 kB / 1.556 GB, free: 5.051 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.6549, allocations: 24 kB / 1.556 GB, free: 5.027 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.0005112/0.6554, allocations: 385.5 kB / 1.556 GB, free: 4.641 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.6555, allocations: 79.48 kB / 1.557 GB, free: 4.562 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.656, allocations: 318 kB / 1.557 GB, free: 4.234 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.656, allocations: 0 / 1.557 GB, free: 4.234 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.6561, allocations: 4 kB / 1.557 GB, free: 4.23 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.6561, allocations: 7.922 kB / 1.557 GB, free: 4.223 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.6594, allocations: 2.147 MB / 1.559 GB, free: 1.953 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.6594, allocations: 8.812 kB / 1.559 GB, free: 1.945 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.6596, allocations: 43.92 kB / 1.559 GB, free: 1.902 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.6596, allocations: 15.94 kB / 1.559 GB, free: 1.887 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.6596, allocations: 16 kB / 1.559 GB, free: 1.871 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/0.6597, allocations: 11.98 kB / 1.559 GB, free: 1.859 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-05/0.6597, allocations: 15.94 kB / 1.559 GB, free: 1.844 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.6603, allocations: 0.5486 MB / 1.56 GB, free: 1.199 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.6606, allocations: 123.3 kB / 1.56 GB, free: 1.078 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.393e-05/0.6607, allocations: 15.98 kB / 1.56 GB, free: 1.062 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.6609, allocations: 16 kB / 1.56 GB, free: 1.047 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.661, allocations: 39.78 kB / 1.56 GB, free: 1.008 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.661, allocations: 16 kB / 1.56 GB, free: 0.9922 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005927/0.6616, allocations: 0.5068 MB / 1.56 GB, free: 0.4922 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.6616, allocations: 0 / 1.56 GB, free: 0.4922 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001083/0.6627, allocations: 402.5 kB / 1.561 GB, free: 100 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.001371/0.6641, allocations: 0.5998 MB / 1.561 GB, free: 15.49 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0005629/0.6646, allocations: 342 kB / 1.562 GB, free: 15.16 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6646, allocations: 4.062 kB / 1.562 GB, free: 15.15 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.6648, allocations: 159.6 kB / 1.562 GB, free: 15 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.6668, allocations: 498.5 kB / 1.562 GB, free: 14.54 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.6697, allocations: 1.967 MB / 1.564 GB, free: 12.45 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/0.6705, allocations: 0.6201 MB / 1.565 GB, free: 11.8 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0005156/0.671, allocations: 181 kB / 1.565 GB, free: 11.62 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.6711, allocations: 43.44 kB / 1.565 GB, free: 11.58 MB / 1.264 GB Notification: Performance of SimCode: time 5.81e-07/0.6711, allocations: 4 kB / 1.565 GB, free: 11.58 MB / 1.264 GB Notification: Performance of Templates: time 0.03309/0.7042, allocations: 20.24 MB / 1.585 GB, free: 7.719 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 gbode -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: 9.528414259999408]