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.001332/0.001332, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.001376/0.001376, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.544/1.544, allocations: 230.5 MB / 252.8 MB, free: 9.141 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.188/3.188, allocations: 0.4899 GB / 0.7915 GB, free: 33.32 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: 77.83 kB / 1.149 GB, free: 26.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.401, allocations: 176.1 MB / 1.321 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2708/0.6718, allocations: 217.9 MB / 1.534 GB, free: 8.191 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.6903, allocations: 12.2 MB / 1.546 GB, free: 11.96 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.6923, allocations: 63.38 kB / 1.546 GB, free: 11.89 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.6939, allocations: 0.5275 MB / 1.546 GB, free: 11.36 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.0057/0.6996, allocations: 1.952 MB / 1.548 GB, free: 9.402 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005832/0.7054, allocations: 1.938 MB / 1.55 GB, free: 7.469 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.0045/0.7099, allocations: 2.348 MB / 1.553 GB, free: 5.109 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.7122, allocations: 1.006 MB / 1.554 GB, free: 4.082 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008673/0.7208, allocations: 3.104 MB / 1.557 GB, free: 0.9688 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.7227, allocations: 0.6923 MB / 1.557 GB, free: 280 kB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004285/0.7232, allocations: 92 kB / 1.557 GB, free: 188 kB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00772/0.7309, allocations: 2.621 MB / 1.56 GB, free: 13.56 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.732, allocations: 0.5569 MB / 1.56 GB, free: 13 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.002111/0.7341, allocations: 0.727 MB / 1.561 GB, free: 12.27 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.7441, allocations: 3.134 MB / 1.564 GB, free: 9.125 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.7441, allocations: 0 / 1.564 GB, free: 9.125 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.766e-06/0.7441, allocations: 0 / 1.564 GB, free: 9.125 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001069/0.7442, allocations: 0 / 1.564 GB, free: 9.125 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.005415/0.7496, allocations: 1.796 MB / 1.566 GB, free: 7.27 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.7497, allocations: 15.98 kB / 1.566 GB, free: 7.254 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.7521, allocations: 374.7 kB / 1.566 GB, free: 6.887 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.7545, allocations: 0.9667 MB / 1.567 GB, free: 5.879 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.7545, allocations: 78.05 kB / 1.567 GB, free: 5.801 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/0.7548, allocations: 104 kB / 1.567 GB, free: 5.699 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.7578, allocations: 1.521 MB / 1.569 GB, free: 4.066 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.7579, allocations: 8 kB / 1.569 GB, free: 4.059 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.758, allocations: 55.92 kB / 1.569 GB, free: 4.004 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.7582, allocations: 65.42 kB / 1.569 GB, free: 3.941 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.7602, allocations: 1.025 MB / 1.57 GB, free: 2.914 MB / 1.264 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.009063/0.7692, allocations: 5.865 MB / 1.576 GB, free: 12.74 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007156/0.77, allocations: 314.2 kB / 1.576 GB, free: 12.4 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.7703, allocations: 239.3 kB / 1.576 GB, free: 12.15 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009235/0.7712, allocations: 0.7081 MB / 1.577 GB, free: 11.3 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.7713, allocations: 42.56 kB / 1.577 GB, free: 11.25 MB / 1.279 GB Notification: Performance of pre-optimization done (n=28): time 3.647e-06/0.7713, allocations: 0 / 1.577 GB, free: 11.25 MB / 1.279 GB Notification: Performance of matching and sorting (n=28): time 0.001711/0.773, allocations: 0.676 MB / 1.578 GB, free: 10.56 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.7731, allocations: 136.6 kB / 1.578 GB, free: 10.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.7758, allocations: 1.686 MB / 1.58 GB, free: 8.703 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.7759, allocations: 33.7 kB / 1.58 GB, free: 8.664 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006077/0.7765, allocations: 0.5545 MB / 1.58 GB, free: 8.105 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.7766, allocations: 103.1 kB / 1.58 GB, free: 8.004 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.7768, allocations: 69.69 kB / 1.58 GB, free: 7.93 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.7769, allocations: 314 kB / 1.581 GB, free: 7.617 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.7772, allocations: 155.9 kB / 1.581 GB, free: 7.465 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.7775, allocations: 268.5 kB / 1.581 GB, free: 7.172 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005655/0.7781, allocations: 412.8 kB / 1.581 GB, free: 6.738 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7781, allocations: 0 / 1.581 GB, free: 6.738 MB / 1.279 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00102/0.7791, allocations: 0.551 MB / 1.582 GB, free: 6.18 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.7792, allocations: 12.17 kB / 1.582 GB, free: 6.168 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.7792, allocations: 4 kB / 1.582 GB, free: 6.164 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.7792, allocations: 4 kB / 1.582 GB, free: 6.16 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.7794, allocations: 51.92 kB / 1.582 GB, free: 6.109 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.7794, allocations: 3.938 kB / 1.582 GB, free: 6.105 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007167/0.7802, allocations: 114.9 kB / 1.582 GB, free: 5.992 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.7802, allocations: 24.06 kB / 1.582 GB, free: 5.969 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.0005698/0.7808, allocations: 379.7 kB / 1.582 GB, free: 5.59 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/0.7811, allocations: 151.1 kB / 1.583 GB, free: 5.441 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/0.7819, allocations: 377.1 kB / 1.583 GB, free: 5.051 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.7819, allocations: 4 kB / 1.583 GB, free: 5.047 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.7819, allocations: 7.875 kB / 1.583 GB, free: 5.039 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.7819, allocations: 3.984 kB / 1.583 GB, free: 5.035 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004221/0.7861, allocations: 2.525 MB / 1.585 GB, free: 2.328 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.7861, allocations: 4 kB / 1.585 GB, free: 2.324 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.7863, allocations: 55.91 kB / 1.585 GB, free: 2.27 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/0.7863, allocations: 8 kB / 1.586 GB, free: 2.262 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.7864, allocations: 15.94 kB / 1.586 GB, free: 2.246 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/0.7864, allocations: 12.02 kB / 1.586 GB, free: 2.234 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/0.7864, allocations: 15.92 kB / 1.586 GB, free: 2.219 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009048/0.7873, allocations: 0.6275 MB / 1.586 GB, free: 1.492 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006132/0.7879, allocations: 296 kB / 1.586 GB, free: 1.184 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/0.7882, allocations: 23.92 kB / 1.586 GB, free: 1.16 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.7887, allocations: 8 kB / 1.586 GB, free: 1.152 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.7887, allocations: 35.8 kB / 1.587 GB, free: 1.117 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.7888, allocations: 19.98 kB / 1.587 GB, free: 1.098 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002027/0.7908, allocations: 1.227 MB / 1.588 GB, free: 15.88 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/0.7908, allocations: 0 / 1.588 GB, free: 15.88 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001353/0.7922, allocations: 327.4 kB / 1.588 GB, free: 15.55 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.001875/0.794, allocations: 0.604 MB / 1.589 GB, free: 14.94 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0007589/0.7948, allocations: 341.8 kB / 1.589 GB, free: 14.61 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.7948, allocations: 4 kB / 1.589 GB, free: 14.61 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.7951, allocations: 160 kB / 1.589 GB, free: 14.45 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004472/0.7995, allocations: 0.9175 MB / 1.59 GB, free: 13.56 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.8038, allocations: 2.134 MB / 1.592 GB, free: 11.31 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.8052, allocations: 1.208 MB / 1.593 GB, free: 10.07 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001198/0.8064, allocations: 302.6 kB / 1.594 GB, free: 9.773 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.8067, allocations: 83.42 kB / 1.594 GB, free: 9.691 MB / 1.295 GB Notification: Performance of SimCode: time 1.824e-06/0.8067, allocations: 0 / 1.594 GB, free: 9.691 MB / 1.295 GB Notification: Performance of Templates: time 0.8/1.607, allocations: 31.19 MB / 1.624 GB, free: 276.2 MB / 1.295 GB " [Timeout remaining time 298] 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/jenkins/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: 11.007486703805625]