Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.BoundaryWithXi_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_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_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_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001213/0.001213, allocations: 194.6 kB / 17.31 MB, free: 5.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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 60.06 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2867, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.7473/1.034, allocations: 214.1 MB / 1.228 GB, free: 1.652 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01607/1.05, allocations: 12.17 MB / 1.24 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/1.053, allocations: 43.69 kB / 1.24 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/1.055, allocations: 0.5041 MB / 1.24 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004942/1.06, allocations: 1.878 MB / 1.242 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004507/1.064, allocations: 1.907 MB / 1.244 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002942/1.067, allocations: 2.375 MB / 1.246 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/1.069, allocations: 1.202 MB / 1.247 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/1.07, allocations: 0.8288 MB / 1.248 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007493/1.071, allocations: 0.6534 MB / 1.249 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/1.071, allocations: 88 kB / 1.249 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005221/1.076, allocations: 2.704 MB / 1.252 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005568/1.077, allocations: 0.5376 MB / 1.252 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000761/1.078, allocations: 0.727 MB / 1.253 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004201/1.082, allocations: 3.097 MB / 1.256 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/1.082, allocations: 0 / 1.256 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.32e-07/1.082, allocations: 0 / 1.256 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.717e-05/1.082, allocations: 0 / 1.256 GB, free: 6.027 MB / 0.9512 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.002202/1.084, allocations: 1.725 MB / 1.258 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.084, allocations: 8.922 kB / 1.258 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/1.086, allocations: 385.8 kB / 1.258 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/1.087, allocations: 0.9502 MB / 1.259 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/1.087, allocations: 82.02 kB / 1.259 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/1.088, allocations: 100 kB / 1.259 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/1.09, allocations: 1.509 MB / 1.261 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/1.09, allocations: 4 kB / 1.261 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.833e-05/1.09, allocations: 44 kB / 1.261 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.291e-05/1.09, allocations: 61.48 kB / 1.261 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/1.091, allocations: 1.021 MB / 1.262 GB, free: 15.94 MB / 0.9669 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.00577/1.097, allocations: 5.805 MB / 1.267 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/1.097, allocations: 326.2 kB / 1.268 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/1.098, allocations: 248.9 kB / 1.268 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007088/1.098, allocations: 0.7081 MB / 1.269 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/1.099, allocations: 42.5 kB / 1.269 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/1.099, allocations: 0 / 1.269 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.001261/1.1, allocations: 0.6637 MB / 1.269 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/1.1, allocations: 140.5 kB / 1.269 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/1.102, allocations: 1.661 MB / 1.271 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/1.102, allocations: 29.7 kB / 1.271 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/1.102, allocations: 0.5541 MB / 1.272 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/1.102, allocations: 90.66 kB / 1.272 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/1.102, allocations: 65.7 kB / 1.272 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.103, allocations: 325.9 kB / 1.272 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/1.103, allocations: 163.9 kB / 1.272 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/1.103, allocations: 283.7 kB / 1.272 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/1.104, allocations: 438.5 kB / 1.273 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.104, allocations: 0 / 1.273 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000744/1.104, allocations: 0.558 MB / 1.273 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/1.104, allocations: 8 kB / 1.273 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.104, allocations: 4 kB / 1.273 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.104, allocations: 4 kB / 1.273 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/1.105, allocations: 64.09 kB / 1.273 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.105, allocations: 11.94 kB / 1.273 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/1.105, allocations: 106.6 kB / 1.274 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/1.105, allocations: 24 kB / 1.274 GB, free: 2.988 MB / 0.9669 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.0004151/1.106, allocations: 374.1 kB / 1.274 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/1.106, allocations: 142.2 kB / 1.274 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/1.106, allocations: 393.7 kB / 1.274 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.106, allocations: 4 kB / 1.274 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.106, allocations: 96 / 1.274 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.106, allocations: 3.984 kB / 1.274 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/1.11, allocations: 2.509 MB / 1.277 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.11, allocations: 12.16 kB / 1.277 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/1.11, allocations: 47.91 kB / 1.277 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/1.11, allocations: 8.062 kB / 1.277 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/1.11, allocations: 23.94 kB / 1.277 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/1.11, allocations: 7.938 kB / 1.277 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.11, allocations: 8 kB / 1.277 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000666/1.111, allocations: 0.6252 MB / 1.278 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000462/1.111, allocations: 291.1 kB / 1.278 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/1.111, allocations: 19.92 kB / 1.278 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/1.112, allocations: 12 kB / 1.278 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/1.112, allocations: 35.86 kB / 1.278 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/1.112, allocations: 19.98 kB / 1.278 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001746/1.114, allocations: 1.203 MB / 1.279 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.114, allocations: 0 / 1.279 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009201/1.115, allocations: 331.8 kB / 1.279 GB, free: 12.63 MB / 0.9825 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.001379/1.116, allocations: 0.6108 MB / 1.28 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005153/1.116, allocations: 355.5 kB / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.117, allocations: 0 / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/1.117, allocations: 168.5 kB / 1.281 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/1.12, allocations: 0.9305 MB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/1.123, allocations: 2.057 MB / 1.283 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007799/1.123, allocations: 1.201 MB / 1.285 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007184/1.124, allocations: 298.7 kB / 1.285 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/1.124, allocations: 83.44 kB / 1.285 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/1.124, allocations: 3.938 kB / 1.285 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of Templates: time 0.04556/1.17, allocations: 30.73 MB / 1.315 GB, free: 8.449 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches