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.01006/0.01006, allocations: 104.8 kB / 15.74 MB, free: 6.039 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.002178/0.002179, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.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.736/2.736, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.89 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3335, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 1.126/1.46, allocations: 214.1 MB / 1.417 GB, free: 12.17 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01906/1.479, allocations: 12.16 MB / 1.429 GB, free: 2.266 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/1.481, allocations: 43.09 kB / 1.429 GB, free: 2.246 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002601/1.484, allocations: 0.5122 MB / 1.429 GB, free: 1.781 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007016/1.491, allocations: 1.955 MB / 1.431 GB, free: 304 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005686/1.497, allocations: 1.933 MB / 1.433 GB, free: 14.88 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003736/1.501, allocations: 2.353 MB / 1.435 GB, free: 13.5 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/1.503, allocations: 1.243 MB / 1.437 GB, free: 12.62 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/1.505, allocations: 0.8405 MB / 1.437 GB, free: 11.77 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/1.506, allocations: 0.6612 MB / 1.438 GB, free: 11.11 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000289/1.506, allocations: 88 kB / 1.438 GB, free: 11.02 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006446/1.513, allocations: 2.715 MB / 1.441 GB, free: 8.301 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007006/1.513, allocations: 0.5415 MB / 1.441 GB, free: 7.758 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001243/1.515, allocations: 0.7348 MB / 1.442 GB, free: 7.02 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005661/1.52, allocations: 3.116 MB / 1.445 GB, free: 3.895 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.52, allocations: 0 / 1.445 GB, free: 3.895 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.874e-06/1.52, allocations: 0 / 1.445 GB, free: 3.895 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.77e-05/1.521, allocations: 0 / 1.445 GB, free: 3.895 MB / 1.123 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.003127/1.524, allocations: 1.737 MB / 1.447 GB, free: 2.102 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.524, allocations: 8.625 kB / 1.447 GB, free: 2.094 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/1.526, allocations: 381.8 kB / 1.447 GB, free: 1.719 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/1.528, allocations: 0.9502 MB / 1.448 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.11e-05/1.528, allocations: 82.06 kB / 1.448 GB, free: 0.6406 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/1.528, allocations: 104 kB / 1.448 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/1.53, allocations: 1.536 MB / 1.45 GB, free: 14.89 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/1.53, allocations: 0 / 1.45 GB, free: 14.89 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-05/1.531, allocations: 48 kB / 1.45 GB, free: 14.84 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.955e-05/1.531, allocations: 69.41 kB / 1.45 GB, free: 14.77 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/1.532, allocations: 1.017 MB / 1.451 GB, free: 13.76 MB / 1.139 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.006012/1.538, allocations: 5.844 MB / 1.456 GB, free: 7.602 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/1.539, allocations: 322.1 kB / 1.457 GB, free: 7.25 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/1.539, allocations: 255.6 kB / 1.457 GB, free: 6.988 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006615/1.54, allocations: 0.7039 MB / 1.458 GB, free: 6.137 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/1.54, allocations: 42.56 kB / 1.458 GB, free: 6.086 MB / 1.139 GB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/1.54, allocations: 0 / 1.458 GB, free: 6.086 MB / 1.139 GB Notification: Performance of matching and sorting (n=28): time 0.001343/1.541, allocations: 0.6658 MB / 1.458 GB, free: 5.414 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/1.541, allocations: 140.6 kB / 1.459 GB, free: 5.246 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/1.543, allocations: 1.69 MB / 1.46 GB, free: 3.547 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/1.543, allocations: 29.7 kB / 1.46 GB, free: 3.512 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000453/1.544, allocations: 0.5544 MB / 1.461 GB, free: 2.953 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/1.544, allocations: 102.5 kB / 1.461 GB, free: 2.852 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/1.544, allocations: 65.69 kB / 1.461 GB, free: 2.781 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/1.544, allocations: 314 kB / 1.461 GB, free: 2.469 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/1.544, allocations: 159.8 kB / 1.461 GB, free: 2.312 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/1.544, allocations: 270.2 kB / 1.462 GB, free: 2.02 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/1.545, allocations: 409.8 kB / 1.462 GB, free: 1.59 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.545, allocations: 0 / 1.462 GB, free: 1.59 MB / 1.139 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007583/1.546, allocations: 0.5471 MB / 1.463 GB, free: 1.035 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.546, allocations: 9.75 kB / 1.463 GB, free: 1.027 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/1.546, allocations: 4 kB / 1.463 GB, free: 1.023 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/1.546, allocations: 7.938 kB / 1.463 GB, free: 1.016 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/1.546, allocations: 47.92 kB / 1.463 GB, free: 0.9688 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/1.546, allocations: 12.12 kB / 1.463 GB, free: 0.957 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/1.547, allocations: 118.5 kB / 1.463 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/1.547, allocations: 16 kB / 1.463 GB, free: 0.8242 MB / 1.139 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.0004301/1.547, allocations: 385.6 kB / 1.463 GB, free: 448 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/1.547, allocations: 142.2 kB / 1.463 GB, free: 304 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000545/1.548, allocations: 373.7 kB / 1.464 GB, free: 15.91 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.548, allocations: 4 kB / 1.464 GB, free: 15.91 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.548, allocations: 4 kB / 1.464 GB, free: 15.9 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.548, allocations: 3.938 kB / 1.464 GB, free: 15.9 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/1.551, allocations: 2.525 MB / 1.466 GB, free: 13.19 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/1.551, allocations: 11.92 kB / 1.466 GB, free: 13.18 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/1.552, allocations: 47.92 kB / 1.466 GB, free: 13.13 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/1.552, allocations: 8 kB / 1.466 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/1.552, allocations: 12 kB / 1.466 GB, free: 13.11 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/1.552, allocations: 11.94 kB / 1.466 GB, free: 13.1 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.552, allocations: 8 kB / 1.466 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007086/1.552, allocations: 0.6188 MB / 1.467 GB, free: 12.38 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/1.553, allocations: 295.3 kB / 1.467 GB, free: 12.07 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/1.553, allocations: 19.88 kB / 1.467 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/1.553, allocations: 12 kB / 1.467 GB, free: 12.04 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/1.553, allocations: 35.84 kB / 1.467 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/1.553, allocations: 20 kB / 1.467 GB, free: 11.98 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001534/1.555, allocations: 1.227 MB / 1.468 GB, free: 10.76 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.61e-07/1.555, allocations: 0 / 1.468 GB, free: 10.76 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001118/1.556, allocations: 331.8 kB / 1.469 GB, free: 10.43 MB / 1.154 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.001644/1.558, allocations: 0.6066 MB / 1.469 GB, free: 9.828 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0007081/1.559, allocations: 356 kB / 1.47 GB, free: 9.48 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.559, allocations: 0 / 1.47 GB, free: 9.48 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/1.559, allocations: 169.2 kB / 1.47 GB, free: 9.316 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/1.562, allocations: 0.9151 MB / 1.471 GB, free: 8.426 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/1.565, allocations: 2.101 MB / 1.473 GB, free: 6.215 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/1.566, allocations: 1.204 MB / 1.474 GB, free: 4.98 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008285/1.567, allocations: 298.7 kB / 1.474 GB, free: 4.684 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/1.567, allocations: 83.44 kB / 1.474 GB, free: 4.602 MB / 1.154 GB Notification: Performance of SimCode: time 6.91e-07/1.567, allocations: 0 / 1.474 GB, free: 4.602 MB / 1.154 GB Notification: Performance of Templates: time 0.05335/1.621, allocations: 30.96 MB / 1.504 GB, free: 5.914 MB / 1.186 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