Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009866/0.0009866, allocations: 90.83 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009242/0.009242, allocations: 169.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 8.438 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3783, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.8815/1.26, allocations: 209.6 MB / 1.263 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01645/1.276, allocations: 12.12 MB / 1.275 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/1.278, allocations: 50.25 kB / 1.275 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00156/1.28, allocations: 404.5 kB / 1.276 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005293/1.285, allocations: 1.76 MB / 1.277 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005267/1.29, allocations: 1.73 MB / 1.279 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005271/1.296, allocations: 3.044 MB / 1.282 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/1.298, allocations: 1.025 MB / 1.283 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/1.3, allocations: 0.6915 MB / 1.284 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/1.302, allocations: 0.6569 MB / 1.284 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002102/1.302, allocations: 35.91 kB / 1.284 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008694/1.311, allocations: 3.512 MB / 1.288 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/1.312, allocations: 491.1 kB / 1.288 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001667/1.314, allocations: 0.675 MB / 1.289 GB, free: 18.28 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006625/1.32, allocations: 3.324 MB / 1.292 GB, free: 18.12 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.32, allocations: 0 / 1.292 GB, free: 18.12 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.264e-06/1.32, allocations: 1.75 kB / 1.292 GB, free: 18.12 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.212e-05/1.32, allocations: 4.875 kB / 1.292 GB, free: 18.12 MB / 1.014 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.002412/1.323, allocations: 1.445 MB / 1.294 GB, free: 17.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.323, allocations: 9.312 kB / 1.294 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/1.325, allocations: 377.7 kB / 1.294 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/1.326, allocations: 0.8994 MB / 1.295 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/1.326, allocations: 80.52 kB / 1.295 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/1.327, allocations: 100.5 kB / 1.295 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/1.33, allocations: 1.527 MB / 1.297 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/1.33, allocations: 5.281 kB / 1.297 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.33, allocations: 49.64 kB / 1.297 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/1.33, allocations: 62.52 kB / 1.297 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/1.332, allocations: 1.019 MB / 1.298 GB, free: 16.48 MB / 1.014 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.006724/1.339, allocations: 5.912 MB / 1.303 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/1.339, allocations: 325 kB / 1.304 GB, free: 12.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/1.339, allocations: 254.2 kB / 1.304 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007239/1.34, allocations: 0.7137 MB / 1.305 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/1.34, allocations: 37.47 kB / 1.305 GB, free: 12.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 3.327e-06/1.34, allocations: 0 / 1.305 GB, free: 12.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001357/1.342, allocations: 0.6754 MB / 1.305 GB, free: 11.96 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/1.342, allocations: 131.8 kB / 1.305 GB, free: 11.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/1.344, allocations: 1.683 MB / 1.307 GB, free: 11.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/1.344, allocations: 31.95 kB / 1.307 GB, free: 11.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/1.344, allocations: 0.5599 MB / 1.308 GB, free: 11.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/1.344, allocations: 95.45 kB / 1.308 GB, free: 11.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/1.345, allocations: 28.11 kB / 1.308 GB, free: 11.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.345, allocations: 320.5 kB / 1.308 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/1.345, allocations: 158.8 kB / 1.308 GB, free: 11.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/1.345, allocations: 270.6 kB / 1.309 GB, free: 11.04 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/1.346, allocations: 410.1 kB / 1.309 GB, free: 10.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.346, allocations: 6 kB / 1.309 GB, free: 10.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000696/1.346, allocations: 0.5428 MB / 1.309 GB, free: 10.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.346, allocations: 5.75 kB / 1.309 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.346, allocations: 2.656 kB / 1.309 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.346, allocations: 3.531 kB / 1.309 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/1.347, allocations: 58.62 kB / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.347, allocations: 3.625 kB / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00068/1.347, allocations: 112.7 kB / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/1.347, allocations: 24.56 kB / 1.31 GB, free: 10.76 MB / 1.014 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.0004472/1.348, allocations: 386.4 kB / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/1.348, allocations: 137.2 kB / 1.31 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005291/1.349, allocations: 375.2 kB / 1.311 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/1.349, allocations: 11.86 kB / 1.311 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.349, allocations: 0 / 1.311 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.349, allocations: 4.719 kB / 1.311 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/1.352, allocations: 2.57 MB / 1.313 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/1.352, allocations: 5.5 kB / 1.313 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/1.352, allocations: 52.06 kB / 1.313 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/1.352, allocations: 6.875 kB / 1.313 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/1.352, allocations: 13.44 kB / 1.313 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/1.352, allocations: 6.875 kB / 1.313 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/1.352, allocations: 13.8 kB / 1.313 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/1.353, allocations: 0.6226 MB / 1.314 GB, free: 9.148 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/1.353, allocations: 310.6 kB / 1.314 GB, free: 8.977 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/1.354, allocations: 16.56 kB / 1.314 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/1.354, allocations: 25.45 kB / 1.314 GB, free: 8.965 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/1.354, allocations: 34.75 kB / 1.314 GB, free: 8.957 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/1.354, allocations: 13.97 kB / 1.314 GB, free: 8.957 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001321/1.355, allocations: 1.226 MB / 1.315 GB, free: 8.848 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.355, allocations: 0 / 1.315 GB, free: 8.848 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001342/1.357, allocations: 341.6 kB / 1.316 GB, free: 8.812 MB / 1.014 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.001636/1.358, allocations: 0.6308 MB / 1.316 GB, free: 8.617 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004515/1.359, allocations: 333.1 kB / 1.317 GB, free: 8.617 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.359, allocations: 10.25 kB / 1.317 GB, free: 8.613 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/1.359, allocations: 157.9 kB / 1.317 GB, free: 8.609 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004796/1.364, allocations: 0.8682 MB / 1.318 GB, free: 8.535 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/1.367, allocations: 2.449 MB / 1.32 GB, free: 7.258 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007177/1.367, allocations: 1.209 MB / 1.321 GB, free: 6.543 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008497/1.368, allocations: 297.8 kB / 1.321 GB, free: 6.484 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/1.368, allocations: 81.94 kB / 1.322 GB, free: 6.477 MB / 1.014 GB Notification: Performance of SimCode: time 1.793e-06/1.368, allocations: 0 / 1.322 GB, free: 6.477 MB / 1.014 GB Notification: Performance of Templates: time 0.04817/1.417, allocations: 29.13 MB / 1.35 GB, free: 12.04 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches