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.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.001869/0.001869, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002404/0.002404, allocations: 164.3 kB / 23.01 MB, free: 4.598 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.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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 2.848/2.848, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 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.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_latest_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_latest_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.002085/0.002085, allocations: 71.88 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8784/0.8804, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2427/1.123, allocations: 189.8 MB / 1.372 GB, free: 7.941 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01648/1.14, allocations: 11.24 MB / 1.383 GB, free: 12.68 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/1.141, allocations: 63.38 kB / 1.383 GB, free: 12.61 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/1.142, allocations: 0.5313 MB / 1.383 GB, free: 12.08 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004874/1.147, allocations: 1.898 MB / 1.385 GB, free: 10.17 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004804/1.152, allocations: 1.952 MB / 1.387 GB, free: 8.23 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003322/1.155, allocations: 2.379 MB / 1.39 GB, free: 5.844 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/1.157, allocations: 0.85 MB / 1.39 GB, free: 4.973 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006816/1.164, allocations: 3.17 MB / 1.393 GB, free: 1.793 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/1.165, allocations: 0.6729 MB / 1.394 GB, free: 1.117 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001617/1.165, allocations: 88 kB / 1.394 GB, free: 1.031 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004788/1.17, allocations: 2.065 MB / 1.396 GB, free: 14.96 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0006033/1.17, allocations: 0.557 MB / 1.397 GB, free: 14.4 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0007872/1.171, allocations: 0.5833 MB / 1.397 GB, free: 13.82 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004876/1.176, allocations: 3.076 MB / 1.4 GB, free: 10.73 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.176, allocations: 0 / 1.4 GB, free: 10.73 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.714e-06/1.176, allocations: 4 kB / 1.4 GB, free: 10.73 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.694e-05/1.176, allocations: 0 / 1.4 GB, free: 10.73 MB / 1.248 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.002558/1.178, allocations: 1.713 MB / 1.402 GB, free: 8.973 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/1.179, allocations: 8.031 kB / 1.402 GB, free: 8.965 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/1.18, allocations: 386.6 kB / 1.402 GB, free: 8.586 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/1.182, allocations: 0.9022 MB / 1.403 GB, free: 7.652 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.159e-05/1.182, allocations: 86.05 kB / 1.403 GB, free: 7.566 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/1.182, allocations: 100 kB / 1.403 GB, free: 7.469 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/1.185, allocations: 1.977 MB / 1.405 GB, free: 5.27 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/1.185, allocations: 3.938 kB / 1.405 GB, free: 5.266 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/1.185, allocations: 47.98 kB / 1.405 GB, free: 5.219 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.695e-05/1.185, allocations: 61.58 kB / 1.405 GB, free: 5.16 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/1.187, allocations: 1.037 MB / 1.407 GB, free: 4.121 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.005676/1.192, allocations: 4.397 MB / 1.411 GB, free: 15.59 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/1.193, allocations: 302.2 kB / 1.411 GB, free: 15.26 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/1.193, allocations: 243.4 kB / 1.411 GB, free: 15.02 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004529/1.194, allocations: 115.8 kB / 1.411 GB, free: 14.9 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/1.194, allocations: 42.56 kB / 1.411 GB, free: 14.85 MB / 1.264 GB Notification: Performance of pre-optimization done (n=28): time 1.903e-06/1.194, allocations: 3.938 kB / 1.411 GB, free: 14.85 MB / 1.264 GB Notification: Performance of matching and sorting (n=28): time 0.001319/1.195, allocations: 0.6221 MB / 1.412 GB, free: 14.22 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/1.195, allocations: 132.5 kB / 1.412 GB, free: 14.06 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009348/1.196, allocations: 0.6847 MB / 1.413 GB, free: 13.36 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/1.196, allocations: 33.7 kB / 1.413 GB, free: 13.32 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004988/1.197, allocations: 0.6052 MB / 1.414 GB, free: 12.71 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 9.644e-05/1.197, allocations: 95.17 kB / 1.414 GB, free: 12.62 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.197, allocations: 65.66 kB / 1.414 GB, free: 12.55 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.197, allocations: 326 kB / 1.414 GB, free: 12.22 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/1.197, allocations: 155.9 kB / 1.414 GB, free: 12.07 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/1.198, allocations: 431.6 kB / 1.415 GB, free: 11.58 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005569/1.198, allocations: 404.2 kB / 1.415 GB, free: 11.16 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.198, allocations: 4 kB / 1.415 GB, free: 11.15 MB / 1.264 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00076/1.199, allocations: 492.8 kB / 1.415 GB, free: 10.66 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.199, allocations: 9.406 kB / 1.415 GB, free: 10.66 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.199, allocations: 0 / 1.415 GB, free: 10.66 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.199, allocations: 4 kB / 1.415 GB, free: 10.65 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/1.199, allocations: 51.92 kB / 1.415 GB, free: 10.6 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.199, allocations: 7.938 kB / 1.415 GB, free: 10.59 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/1.2, allocations: 39.7 kB / 1.415 GB, free: 10.55 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/1.2, allocations: 16 kB / 1.416 GB, free: 10.54 MB / 1.264 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.0005373/1.2, allocations: 385.7 kB / 1.416 GB, free: 10.15 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/1.2, allocations: 83.48 kB / 1.416 GB, free: 10.07 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005371/1.201, allocations: 318.6 kB / 1.416 GB, free: 9.742 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.201, allocations: 4 kB / 1.416 GB, free: 9.738 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.201, allocations: 0 / 1.416 GB, free: 9.738 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.201, allocations: 3.938 kB / 1.416 GB, free: 9.734 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/1.204, allocations: 2.164 MB / 1.418 GB, free: 7.449 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.204, allocations: 12.03 kB / 1.418 GB, free: 7.438 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/1.205, allocations: 47.92 kB / 1.418 GB, free: 7.391 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/1.205, allocations: 11.94 kB / 1.418 GB, free: 7.379 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/1.205, allocations: 16 kB / 1.418 GB, free: 7.363 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/1.205, allocations: 15.92 kB / 1.418 GB, free: 7.348 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.205, allocations: 4 kB / 1.418 GB, free: 7.344 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007039/1.205, allocations: 0.5569 MB / 1.419 GB, free: 6.691 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/1.206, allocations: 123.3 kB / 1.419 GB, free: 6.57 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/1.206, allocations: 12 kB / 1.419 GB, free: 6.559 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/1.206, allocations: 12 kB / 1.419 GB, free: 6.547 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/1.206, allocations: 39.83 kB / 1.419 GB, free: 6.508 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/1.206, allocations: 12.16 kB / 1.419 GB, free: 6.496 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006596/1.207, allocations: 0.5068 MB / 1.42 GB, free: 5.996 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/1.207, allocations: 0 / 1.42 GB, free: 5.996 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001133/1.208, allocations: 414.4 kB / 1.42 GB, free: 5.59 MB / 1.264 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.001334/1.209, allocations: 0.6036 MB / 1.421 GB, free: 4.977 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0005687/1.21, allocations: 348.2 kB / 1.421 GB, free: 4.637 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.21, allocations: 0 / 1.421 GB, free: 4.637 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/1.21, allocations: 153.2 kB / 1.421 GB, free: 4.488 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/1.212, allocations: 499.7 kB / 1.422 GB, free: 4.023 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/1.215, allocations: 1.967 MB / 1.424 GB, free: 1.941 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007996/1.216, allocations: 0.6201 MB / 1.424 GB, free: 1.289 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0005116/1.216, allocations: 177.1 kB / 1.424 GB, free: 1.117 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/1.216, allocations: 48.5 kB / 1.424 GB, free: 1.07 MB / 1.264 GB Notification: Performance of SimCode: time 7.11e-07/1.216, allocations: 0 / 1.424 GB, free: 1.07 MB / 1.264 GB Notification: Performance of Templates: time 0.03172/1.248, allocations: 18.27 MB / 1.442 GB, free: 15.11 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.922757780994289]