Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001722/0.001722, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002064/0.002064, allocations: 190.4 kB / 16.25 MB, free: 6.648 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001358, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.775/0.7763, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2297/1.006, allocations: 212 MB / 1.156 GB, free: 13.38 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01514/1.021, allocations: 12.16 MB / 1.168 GB, free: 1.184 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/1.023, allocations: 51.56 kB / 1.168 GB, free: 1.133 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/1.025, allocations: 429.4 kB / 1.168 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005195/1.03, allocations: 1.774 MB / 1.17 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0046/1.034, allocations: 1.776 MB / 1.172 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002823/1.037, allocations: 2.383 MB / 1.174 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/1.039, allocations: 1.134 MB / 1.175 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/1.04, allocations: 0.8405 MB / 1.176 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007288/1.041, allocations: 0.7159 MB / 1.177 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/1.041, allocations: 92 kB / 1.177 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005564/1.047, allocations: 3.261 MB / 1.18 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005247/1.047, allocations: 0.5376 MB / 1.181 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008811/1.048, allocations: 0.7309 MB / 1.181 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005726/1.054, allocations: 3.373 MB / 1.185 GB, free: 32 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.054, allocations: 0 / 1.185 GB, free: 32 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/1.054, allocations: 0 / 1.185 GB, free: 32 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.887e-05/1.054, allocations: 0 / 1.185 GB, free: 32 kB / 0.9356 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.002379/1.056, allocations: 1.733 MB / 1.186 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.056, allocations: 8.031 kB / 1.186 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/1.058, allocations: 377.8 kB / 1.187 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/1.059, allocations: 0.8916 MB / 1.188 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/1.059, allocations: 78.03 kB / 1.188 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/1.059, allocations: 96 kB / 1.188 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/1.061, allocations: 1.517 MB / 1.189 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/1.061, allocations: 3.938 kB / 1.189 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.132e-05/1.062, allocations: 51.94 kB / 1.189 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.749e-05/1.062, allocations: 61.48 kB / 1.189 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/1.063, allocations: 1.017 MB / 1.19 GB, free: 10 MB / 0.9512 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.006039/1.069, allocations: 5.926 MB / 1.196 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/1.07, allocations: 322.1 kB / 1.196 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/1.07, allocations: 247.4 kB / 1.197 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006672/1.071, allocations: 0.7039 MB / 1.197 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/1.071, allocations: 46.5 kB / 1.197 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/1.071, allocations: 0 / 1.197 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001249/1.072, allocations: 0.6683 MB / 1.198 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/1.072, allocations: 136.5 kB / 1.198 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/1.074, allocations: 1.658 MB / 1.2 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/1.074, allocations: 29.83 kB / 1.2 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004619/1.074, allocations: 0.558 MB / 1.2 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/1.075, allocations: 94.64 kB / 1.2 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/1.075, allocations: 69.61 kB / 1.201 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.075, allocations: 321.9 kB / 1.201 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/1.075, allocations: 159.9 kB / 1.201 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/1.075, allocations: 290.1 kB / 1.201 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/1.076, allocations: 425.9 kB / 1.202 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.076, allocations: 0 / 1.202 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008042/1.077, allocations: 0.5661 MB / 1.202 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.077, allocations: 8 kB / 1.202 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.077, allocations: 4 kB / 1.202 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.077, allocations: 4 kB / 1.202 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/1.077, allocations: 59.91 kB / 1.202 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/1.077, allocations: 4 kB / 1.202 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/1.078, allocations: 114.7 kB / 1.202 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/1.078, allocations: 23.94 kB / 1.202 GB, free: 12.93 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.0004414/1.078, allocations: 381.5 kB / 1.203 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/1.078, allocations: 142.2 kB / 1.203 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005408/1.079, allocations: 381 kB / 1.203 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.079, allocations: 3.984 kB / 1.203 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/1.079, allocations: 8 kB / 1.203 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.079, allocations: 3.938 kB / 1.203 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/1.082, allocations: 2.611 MB / 1.206 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.082, allocations: 7.938 kB / 1.206 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/1.083, allocations: 47.92 kB / 1.206 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/1.083, allocations: 8 kB / 1.206 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/1.083, allocations: 19.92 kB / 1.206 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/1.083, allocations: 8 kB / 1.206 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/1.083, allocations: 11.94 kB / 1.206 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007323/1.083, allocations: 0.6163 MB / 1.207 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/1.084, allocations: 295.1 kB / 1.207 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/1.084, allocations: 15.98 kB / 1.207 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/1.084, allocations: 16 kB / 1.207 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/1.085, allocations: 31.86 kB / 1.207 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/1.085, allocations: 23.98 kB / 1.207 GB, free: 8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001487/1.086, allocations: 1.207 MB / 1.208 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/1.086, allocations: 0 / 1.208 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001016/1.087, allocations: 331.8 kB / 1.208 GB, free: 6.473 MB / 0.9669 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.001624/1.089, allocations: 0.634 MB / 1.209 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005927/1.089, allocations: 355.5 kB / 1.209 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.089, allocations: 0 / 1.209 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/1.09, allocations: 168.7 kB / 1.21 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003624/1.093, allocations: 0.9226 MB / 1.21 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/1.096, allocations: 2.398 MB / 1.213 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/1.097, allocations: 1.2 MB / 1.214 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008899/1.098, allocations: 302.7 kB / 1.214 GB, free: 408 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/1.098, allocations: 79.44 kB / 1.214 GB, free: 328 kB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/1.098, allocations: 4 kB / 1.214 GB, free: 324 kB / 0.9669 GB Notification: Performance of Templates: time 0.04947/1.148, allocations: 30.05 MB / 1.244 GB, free: 2.676 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches