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.001521/0.001521, 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.00172/0.00172, allocations: 222.2 kB / 23 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.248/3.248, allocations: 0.4892 GB / 0.7951 GB, free: 35.57 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.002163/0.002163, allocations: 65.38 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3933, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2665/0.6598, allocations: 189.8 MB / 1.512 GB, free: 3.43 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01839/0.6782, allocations: 11.24 MB / 1.523 GB, free: 8.16 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.6799, allocations: 63.38 kB / 1.523 GB, free: 8.098 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.6816, allocations: 0.5197 MB / 1.523 GB, free: 7.574 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005384/0.687, allocations: 1.917 MB / 1.525 GB, free: 5.648 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00521/0.6922, allocations: 1.948 MB / 1.527 GB, free: 3.707 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003573/0.6958, allocations: 2.375 MB / 1.529 GB, free: 1.32 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.6971, allocations: 0.854 MB / 1.53 GB, free: 452 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006894/0.704, allocations: 3.15 MB / 1.533 GB, free: 13.28 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.7052, allocations: 0.6807 MB / 1.534 GB, free: 12.6 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.7054, allocations: 92 kB / 1.534 GB, free: 12.51 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004747/0.7101, allocations: 2.053 MB / 1.536 GB, free: 10.45 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005929/0.7107, allocations: 0.557 MB / 1.536 GB, free: 9.891 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007737/0.7115, allocations: 0.5949 MB / 1.537 GB, free: 9.293 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005332/0.7168, allocations: 3.08 MB / 1.54 GB, free: 6.203 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7168, allocations: 0 / 1.54 GB, free: 6.203 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.524e-06/0.7168, allocations: 0 / 1.54 GB, free: 6.203 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.292e-05/0.7168, allocations: 0 / 1.54 GB, free: 6.203 MB / 1.232 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.002642/0.7195, allocations: 1.717 MB / 1.542 GB, free: 4.445 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.7195, allocations: 8.031 kB / 1.542 GB, free: 4.438 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.7212, allocations: 378.7 kB / 1.542 GB, free: 4.066 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.7231, allocations: 0.9061 MB / 1.543 GB, free: 3.129 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.7231, allocations: 74.06 kB / 1.543 GB, free: 3.055 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.7233, allocations: 104 kB / 1.543 GB, free: 2.953 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.7258, allocations: 1.985 MB / 1.545 GB, free: 0.75 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.7258, allocations: 4 kB / 1.545 GB, free: 0.7461 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.373e-05/0.7259, allocations: 44 kB / 1.545 GB, free: 0.7031 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.36e-05/0.726, allocations: 65.56 kB / 1.545 GB, free: 0.6406 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.7275, allocations: 1.025 MB / 1.546 GB, free: 15.61 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.005609/0.7331, allocations: 4.401 MB / 1.55 GB, free: 11.08 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/0.7337, allocations: 306.2 kB / 1.551 GB, free: 10.75 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.734, allocations: 239.4 kB / 1.551 GB, free: 10.5 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004437/0.7345, allocations: 115.8 kB / 1.551 GB, free: 10.39 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.7345, allocations: 38.55 kB / 1.551 GB, free: 10.34 MB / 1.248 GB Notification: Performance of pre-optimization done (n=28): time 2.365e-06/0.7345, allocations: 0 / 1.551 GB, free: 10.34 MB / 1.248 GB Notification: Performance of matching and sorting (n=28): time 0.001253/0.7358, allocations: 0.6262 MB / 1.552 GB, free: 9.707 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.7359, allocations: 132.5 kB / 1.552 GB, free: 9.547 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008516/0.7367, allocations: 0.6847 MB / 1.553 GB, free: 8.848 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.7368, allocations: 33.7 kB / 1.553 GB, free: 8.809 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004747/0.7372, allocations: 0.6052 MB / 1.553 GB, free: 8.195 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 8.988e-05/0.7373, allocations: 103.1 kB / 1.553 GB, free: 8.094 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.7374, allocations: 65.69 kB / 1.553 GB, free: 8.023 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7376, allocations: 326 kB / 1.554 GB, free: 7.699 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.7378, allocations: 151.9 kB / 1.554 GB, free: 7.551 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.7382, allocations: 430.6 kB / 1.554 GB, free: 7.062 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/0.7387, allocations: 396.3 kB / 1.555 GB, free: 6.645 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7387, allocations: 4 kB / 1.555 GB, free: 6.641 MB / 1.248 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007095/0.7394, allocations: 0.4968 MB / 1.555 GB, free: 6.137 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.7395, allocations: 8 kB / 1.555 GB, free: 6.129 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.7395, allocations: 0 / 1.555 GB, free: 6.129 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.7395, allocations: 4 kB / 1.555 GB, free: 6.125 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.7397, allocations: 55.91 kB / 1.555 GB, free: 6.07 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.7397, allocations: 7.938 kB / 1.555 GB, free: 6.062 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.74, allocations: 27.89 kB / 1.555 GB, free: 6.035 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.7401, allocations: 23.98 kB / 1.555 GB, free: 6.012 MB / 1.248 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.0005051/0.7406, allocations: 381.8 kB / 1.556 GB, free: 5.629 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.7408, allocations: 83.48 kB / 1.556 GB, free: 5.547 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/0.7413, allocations: 318.5 kB / 1.556 GB, free: 5.219 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.7413, allocations: 7.938 kB / 1.556 GB, free: 5.211 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.7413, allocations: 0 / 1.556 GB, free: 5.211 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.7413, allocations: 7.922 kB / 1.556 GB, free: 5.203 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.7446, allocations: 2.152 MB / 1.558 GB, free: 2.93 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.7446, allocations: 8.031 kB / 1.558 GB, free: 2.922 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.7448, allocations: 51.91 kB / 1.558 GB, free: 2.871 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.7448, allocations: 11.94 kB / 1.558 GB, free: 2.859 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.7448, allocations: 12 kB / 1.558 GB, free: 2.848 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-05/0.7448, allocations: 11.94 kB / 1.558 GB, free: 2.836 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.7448, allocations: 8 kB / 1.558 GB, free: 2.828 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.7455, allocations: 0.5564 MB / 1.559 GB, free: 2.176 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.7458, allocations: 119.3 kB / 1.559 GB, free: 2.059 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/0.7459, allocations: 15.98 kB / 1.559 GB, free: 2.043 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.7461, allocations: 8 kB / 1.559 GB, free: 2.035 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.7461, allocations: 39.84 kB / 1.559 GB, free: 1.996 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.7462, allocations: 16 kB / 1.559 GB, free: 1.98 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006133/0.7468, allocations: 0.5107 MB / 1.559 GB, free: 1.477 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.7468, allocations: 0 / 1.559 GB, free: 1.477 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001136/0.7479, allocations: 398.5 kB / 1.56 GB, free: 1.086 MB / 1.248 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.001331/0.7493, allocations: 0.5997 MB / 1.56 GB, free: 488 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005615/0.7498, allocations: 341.7 kB / 1.561 GB, free: 148 kB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.7498, allocations: 4 kB / 1.561 GB, free: 144 kB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.75, allocations: 149.2 kB / 1.561 GB, free: 15.99 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.752, allocations: 0.5041 MB / 1.561 GB, free: 15.52 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.7551, allocations: 2.047 MB / 1.563 GB, free: 13.35 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007222/0.7559, allocations: 0.6162 MB / 1.564 GB, free: 12.7 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.756, allocations: 47.44 kB / 1.564 GB, free: 12.66 MB / 1.264 GB Notification: Performance of SimCode: time 8.52e-07/0.756, allocations: 0 / 1.564 GB, free: 12.66 MB / 1.264 GB Notification: Performance of Templates: time 0.02822/0.7842, allocations: 18.31 MB / 1.582 GB, free: 10.45 MB / 1.279 GB " [Timeout remaining time 299] 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/jenkins1/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: 15.590218590106815]