Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001791/0.001791, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002208/0.002208, allocations: 207 kB / 22.99 MB, free: 4.957 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.215/3.215, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.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_12_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_12_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.002089/0.002089, allocations: 70.5 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3414, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2311/0.5725, allocations: 189.8 MB / 1.512 GB, free: 2.516 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.5894, allocations: 11.25 MB / 1.523 GB, free: 7.242 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.5907, allocations: 63.38 kB / 1.523 GB, free: 7.18 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.592, allocations: 0.5158 MB / 1.524 GB, free: 6.66 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005517/0.5975, allocations: 1.914 MB / 1.526 GB, free: 4.738 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006024/0.6035, allocations: 1.965 MB / 1.528 GB, free: 2.777 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004083/0.6076, allocations: 2.426 MB / 1.53 GB, free: 348 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.6091, allocations: 0.8382 MB / 1.531 GB, free: 15.48 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007029/0.6162, allocations: 3.162 MB / 1.534 GB, free: 12.3 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.6173, allocations: 0.7001 MB / 1.535 GB, free: 11.6 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.6174, allocations: 92 kB / 1.535 GB, free: 11.51 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004386/0.6218, allocations: 2.085 MB / 1.537 GB, free: 9.422 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005754/0.6224, allocations: 0.5492 MB / 1.537 GB, free: 8.871 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007456/0.6231, allocations: 0.5794 MB / 1.538 GB, free: 8.289 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004314/0.6274, allocations: 3.06 MB / 1.541 GB, free: 5.219 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.6274, allocations: 4 kB / 1.541 GB, free: 5.215 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6274, allocations: 4 kB / 1.541 GB, free: 5.211 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.6275, allocations: 0 / 1.541 GB, free: 5.211 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002441/0.6299, allocations: 1.702 MB / 1.543 GB, free: 3.469 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.6299, allocations: 8.031 kB / 1.543 GB, free: 3.461 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.6317, allocations: 382.6 kB / 1.543 GB, free: 3.086 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.6334, allocations: 0.8907 MB / 1.544 GB, free: 2.164 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/0.6335, allocations: 78.03 kB / 1.544 GB, free: 2.086 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.6337, allocations: 99.98 kB / 1.544 GB, free: 1.988 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.6363, allocations: 1.964 MB / 1.546 GB, free: 15.8 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.6363, allocations: 0 / 1.546 GB, free: 15.8 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.995e-05/0.6364, allocations: 44 kB / 1.546 GB, free: 15.76 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.103e-05/0.6365, allocations: 65.42 kB / 1.546 GB, free: 15.7 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.638, allocations: 1.017 MB / 1.547 GB, free: 14.68 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.005568/0.6435, allocations: 4.388 MB / 1.551 GB, free: 10.16 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.6441, allocations: 314.2 kB / 1.552 GB, free: 9.816 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.6445, allocations: 235.4 kB / 1.552 GB, free: 9.574 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004594/0.6449, allocations: 111.8 kB / 1.552 GB, free: 9.465 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.645, allocations: 42.5 kB / 1.552 GB, free: 9.414 MB / 1.248 GB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.645, allocations: 4 kB / 1.552 GB, free: 9.41 MB / 1.248 GB Notification: Performance of matching and sorting (n=28): time 0.001298/0.6463, allocations: 0.6145 MB / 1.553 GB, free: 8.789 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.6463, allocations: 132.5 kB / 1.553 GB, free: 8.629 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008725/0.6472, allocations: 0.6964 MB / 1.553 GB, free: 7.918 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.6473, allocations: 37.62 kB / 1.553 GB, free: 7.875 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/0.6478, allocations: 0.6013 MB / 1.554 GB, free: 7.266 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 8.829e-05/0.6478, allocations: 103.2 kB / 1.554 GB, free: 7.164 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.648, allocations: 73.69 kB / 1.554 GB, free: 7.086 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6481, allocations: 321.9 kB / 1.554 GB, free: 6.766 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.6484, allocations: 163.9 kB / 1.555 GB, free: 6.605 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.6488, allocations: 444.3 kB / 1.555 GB, free: 6.098 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005831/0.6494, allocations: 430.6 kB / 1.555 GB, free: 5.641 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.6494, allocations: 4 kB / 1.555 GB, free: 5.637 MB / 1.248 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007512/0.6502, allocations: 0.5085 MB / 1.556 GB, free: 5.121 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6502, allocations: 8 kB / 1.556 GB, free: 5.113 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.6502, allocations: 4 kB / 1.556 GB, free: 5.109 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.6502, allocations: 4 kB / 1.556 GB, free: 5.105 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.6505, allocations: 60.17 kB / 1.556 GB, free: 5.047 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.6505, allocations: 11.94 kB / 1.556 GB, free: 5.035 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.6508, allocations: 27.81 kB / 1.556 GB, free: 5.008 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/0.6508, allocations: 20 kB / 1.556 GB, free: 4.988 MB / 1.248 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.0005401/0.6514, allocations: 377.5 kB / 1.556 GB, free: 4.609 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.6515, allocations: 79.48 kB / 1.557 GB, free: 4.531 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006113/0.6521, allocations: 321.9 kB / 1.557 GB, free: 4.199 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.6521, allocations: 4 kB / 1.557 GB, free: 4.195 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6522, allocations: 4 kB / 1.557 GB, free: 4.191 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6522, allocations: 0 / 1.557 GB, free: 4.191 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003835/0.656, allocations: 2.145 MB / 1.559 GB, free: 1.926 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.656, allocations: 4 kB / 1.559 GB, free: 1.922 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.6562, allocations: 55.91 kB / 1.559 GB, free: 1.867 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.6562, allocations: 8 kB / 1.559 GB, free: 1.859 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.6563, allocations: 12 kB / 1.559 GB, free: 1.848 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.6563, allocations: 15.95 kB / 1.559 GB, free: 1.832 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/0.6563, allocations: 16.42 kB / 1.559 GB, free: 1.816 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/0.6571, allocations: 0.5525 MB / 1.56 GB, free: 1.168 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.6574, allocations: 119.4 kB / 1.56 GB, free: 1.051 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/0.6575, allocations: 16 kB / 1.56 GB, free: 1.035 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.6577, allocations: 15.94 kB / 1.56 GB, free: 1.02 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.6577, allocations: 31.84 kB / 1.56 GB, free: 0.9883 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.6578, allocations: 16 kB / 1.56 GB, free: 0.9727 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006645/0.6584, allocations: 0.5146 MB / 1.56 GB, free: 476 kB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.6584, allocations: 4 kB / 1.56 GB, free: 472 kB / 1.248 GB Notification: Performance of remove unused functions: time 0.001219/0.6597, allocations: 406.5 kB / 1.561 GB, free: 64 kB / 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.00137/0.661, allocations: 0.5954 MB / 1.561 GB, free: 15.46 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0005899/0.6616, allocations: 349.7 kB / 1.562 GB, free: 15.12 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6616, allocations: 0 / 1.562 GB, free: 15.12 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.6618, allocations: 165 kB / 1.562 GB, free: 14.96 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.6638, allocations: 491.2 kB / 1.562 GB, free: 14.5 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.6667, allocations: 1.947 MB / 1.564 GB, free: 12.44 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/0.6675, allocations: 0.612 MB / 1.565 GB, free: 11.8 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0005126/0.668, allocations: 181.2 kB / 1.565 GB, free: 11.62 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.6681, allocations: 59.36 kB / 1.565 GB, free: 11.56 MB / 1.264 GB Notification: Performance of SimCode: time 4.91e-07/0.6681, allocations: 0 / 1.565 GB, free: 11.56 MB / 1.264 GB Notification: Performance of Templates: time 0.0342/0.7023, allocations: 20.28 MB / 1.585 GB, free: 7.668 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.825750579009764]