Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.00136/0.00136, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001837/0.001837, allocations: 219.6 kB / 22.99 MB, free: 4.914 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.485/1.485, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.294/3.294, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 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.BoundaryWithXi_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.BoundaryWithXi_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.BoundaryWithXi_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.002895/0.002895, allocations: 70.27 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.4647, allocations: 181.9 MB / 1.365 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2679/0.7326, allocations: 189.8 MB / 1.55 GB, free: 15.19 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01887/0.7514, allocations: 11.23 MB / 1.561 GB, free: 3.926 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.7533, allocations: 59.38 kB / 1.561 GB, free: 3.867 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.7552, allocations: 0.5275 MB / 1.561 GB, free: 3.336 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.006328/0.7616, allocations: 1.917 MB / 1.563 GB, free: 1.41 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005496/0.7671, allocations: 1.939 MB / 1.565 GB, free: 15.48 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003946/0.771, allocations: 2.41 MB / 1.568 GB, free: 13.06 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.7725, allocations: 0.8304 MB / 1.568 GB, free: 12.2 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007589/0.7801, allocations: 3.158 MB / 1.571 GB, free: 9.035 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.7814, allocations: 0.6729 MB / 1.572 GB, free: 8.359 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.7815, allocations: 88 kB / 1.572 GB, free: 8.273 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00551/0.7871, allocations: 2.061 MB / 1.574 GB, free: 6.207 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0006743/0.7877, allocations: 0.5453 MB / 1.575 GB, free: 5.66 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0008762/0.7886, allocations: 0.5871 MB / 1.575 GB, free: 5.07 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005972/0.7946, allocations: 3.056 MB / 1.578 GB, free: 2.004 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7946, allocations: 3.938 kB / 1.578 GB, free: 2 MB / 1.264 GB Notification: Performance of FrontEnd: time 4.399e-06/0.7946, allocations: 4 kB / 1.578 GB, free: 1.996 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.7946, allocations: 4 kB / 1.578 GB, free: 1.992 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002953/0.7976, allocations: 1.702 MB / 1.58 GB, free: 256 kB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.7976, allocations: 8.031 kB / 1.58 GB, free: 248 kB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.7993, allocations: 378.8 kB / 1.58 GB, free: 15.87 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.8011, allocations: 0.8906 MB / 1.581 GB, free: 14.95 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/0.8012, allocations: 74.03 kB / 1.581 GB, free: 14.88 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.8013, allocations: 100 kB / 1.581 GB, free: 14.78 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.8039, allocations: 1.965 MB / 1.583 GB, free: 12.59 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/0.8039, allocations: 3.938 kB / 1.583 GB, free: 12.59 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.804, allocations: 47.98 kB / 1.583 GB, free: 12.54 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-05/0.8041, allocations: 69.41 kB / 1.583 GB, free: 12.48 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.8056, allocations: 1.021 MB / 1.584 GB, free: 11.45 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.005812/0.8114, allocations: 4.381 MB / 1.589 GB, free: 6.941 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.8121, allocations: 322.1 kB / 1.589 GB, free: 6.59 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.8124, allocations: 231.7 kB / 1.589 GB, free: 6.352 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004468/0.8128, allocations: 111.9 kB / 1.589 GB, free: 6.242 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.8129, allocations: 42.55 kB / 1.589 GB, free: 6.191 MB / 1.279 GB Notification: Performance of pre-optimization done (n=28): time 2.906e-06/0.8129, allocations: 8 kB / 1.589 GB, free: 6.184 MB / 1.279 GB Notification: Performance of matching and sorting (n=28): time 0.001323/0.8142, allocations: 0.6061 MB / 1.59 GB, free: 5.57 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.982e-05/0.8143, allocations: 140.5 kB / 1.59 GB, free: 5.402 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009162/0.8152, allocations: 0.6925 MB / 1.591 GB, free: 4.699 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.8153, allocations: 29.7 kB / 1.591 GB, free: 4.664 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005285/0.8158, allocations: 0.6091 MB / 1.591 GB, free: 4.047 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 9.385e-05/0.8159, allocations: 99.11 kB / 1.591 GB, free: 3.949 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.816, allocations: 73.78 kB / 1.592 GB, free: 3.871 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.8162, allocations: 325.9 kB / 1.592 GB, free: 3.547 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.8164, allocations: 163.9 kB / 1.592 GB, free: 3.387 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.8169, allocations: 440.9 kB / 1.592 GB, free: 2.883 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005755/0.8175, allocations: 429.9 kB / 1.593 GB, free: 2.426 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.8175, allocations: 4 kB / 1.593 GB, free: 2.422 MB / 1.279 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007598/0.8182, allocations: 0.4975 MB / 1.593 GB, free: 1.918 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.8183, allocations: 6.812 kB / 1.593 GB, free: 1.914 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.8183, allocations: 4 kB / 1.593 GB, free: 1.91 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.8183, allocations: 4 kB / 1.593 GB, free: 1.906 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.8185, allocations: 60.16 kB / 1.593 GB, free: 1.848 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.8185, allocations: 12 kB / 1.593 GB, free: 1.836 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.8189, allocations: 31.77 kB / 1.593 GB, free: 1.805 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.8189, allocations: 20.08 kB / 1.593 GB, free: 1.785 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0006267/0.8196, allocations: 378 kB / 1.594 GB, free: 1.406 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.8197, allocations: 83.48 kB / 1.594 GB, free: 1.324 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.8203, allocations: 318 kB / 1.594 GB, free: 0.9961 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.8203, allocations: 4 kB / 1.594 GB, free: 0.9922 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.8203, allocations: 7.984 kB / 1.594 GB, free: 0.9844 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8203, allocations: 64 / 1.594 GB, free: 0.9844 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003394/0.8237, allocations: 2.157 MB / 1.596 GB, free: 14.71 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.8237, allocations: 4 kB / 1.596 GB, free: 14.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.8239, allocations: 55.86 kB / 1.596 GB, free: 14.65 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.8239, allocations: 8 kB / 1.596 GB, free: 14.64 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.8239, allocations: 12 kB / 1.596 GB, free: 14.63 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/0.8239, allocations: 15.92 kB / 1.596 GB, free: 14.61 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.8239, allocations: 16.34 kB / 1.596 GB, free: 14.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007199/0.8246, allocations: 0.5623 MB / 1.597 GB, free: 13.94 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.8249, allocations: 115.4 kB / 1.597 GB, free: 13.83 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.15e-05/0.825, allocations: 19.98 kB / 1.597 GB, free: 13.81 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.8252, allocations: 11.94 kB / 1.597 GB, free: 13.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.8253, allocations: 35.84 kB / 1.597 GB, free: 13.76 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.8253, allocations: 16 kB / 1.597 GB, free: 13.75 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006417/0.8259, allocations: 0.5107 MB / 1.598 GB, free: 13.24 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8259, allocations: 4 kB / 1.598 GB, free: 13.24 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001226/0.8272, allocations: 402.5 kB / 1.598 GB, free: 12.84 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.001361/0.8285, allocations: 0.6024 MB / 1.599 GB, free: 12.23 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0006299/0.8292, allocations: 347.5 kB / 1.599 GB, free: 11.89 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8292, allocations: 0 / 1.599 GB, free: 11.89 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.8294, allocations: 157.1 kB / 1.599 GB, free: 11.74 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.8314, allocations: 490.2 kB / 1.6 GB, free: 11.29 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.8346, allocations: 2.019 MB / 1.602 GB, free: 9.148 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/0.8353, allocations: 0.6081 MB / 1.602 GB, free: 8.508 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.8355, allocations: 55.42 kB / 1.602 GB, free: 8.453 MB / 1.295 GB Notification: Performance of SimCode: time 1.062e-06/0.8355, allocations: 3.938 kB / 1.602 GB, free: 8.449 MB / 1.295 GB Notification: Performance of Templates: time 0.8101/1.646, allocations: 18.32 MB / 1.62 GB, free: 243 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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: 16.47055719513446]