Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_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.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.008926/0.008926, allocations: 172.7 kB / 16.26 MB, free: 6.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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.431/2.431, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005363/0.0005364, allocations: 12.28 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7661/0.7667, allocations: 142.4 MB / 0.955 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2535/1.02, allocations: 209.6 MB / 1.16 GB, free: 13.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01798/1.038, allocations: 12.13 MB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/1.04, allocations: 47.56 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00214/1.043, allocations: 405.3 kB / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006453/1.049, allocations: 1.755 MB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005647/1.055, allocations: 1.731 MB / 1.175 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004401/1.059, allocations: 3.05 MB / 1.178 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/1.061, allocations: 1.02 MB / 1.179 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/1.063, allocations: 0.6804 MB / 1.18 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/1.065, allocations: 0.6612 MB / 1.181 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002316/1.065, allocations: 36 kB / 1.181 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008159/1.073, allocations: 3.514 MB / 1.184 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007159/1.074, allocations: 490.6 kB / 1.185 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/1.075, allocations: 0.6778 MB / 1.185 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006934/1.082, allocations: 3.322 MB / 1.189 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.082, allocations: 0 / 1.189 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.204e-06/1.082, allocations: 0 / 1.189 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.826e-05/1.082, allocations: 0 / 1.189 GB, free: 15.64 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003229/1.085, allocations: 1.445 MB / 1.19 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/1.086, allocations: 8.031 kB / 1.19 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/1.088, allocations: 381.7 kB / 1.19 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/1.089, allocations: 0.8917 MB / 1.191 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/1.089, allocations: 78.06 kB / 1.191 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/1.09, allocations: 100 kB / 1.191 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/1.093, allocations: 1.533 MB / 1.193 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/1.093, allocations: 3.938 kB / 1.193 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/1.093, allocations: 55.98 kB / 1.193 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-05/1.093, allocations: 61.48 kB / 1.193 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/1.095, allocations: 1.017 MB / 1.194 GB, free: 9.871 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.007794/1.102, allocations: 5.91 MB / 1.2 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006203/1.103, allocations: 326.1 kB / 1.2 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004006/1.103, allocations: 251.6 kB / 1.2 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/1.104, allocations: 0.7155 MB / 1.201 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/1.105, allocations: 38.56 kB / 1.201 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.254e-06/1.105, allocations: 0 / 1.201 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.00165/1.106, allocations: 0.6758 MB / 1.202 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/1.106, allocations: 132.5 kB / 1.202 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00268/1.109, allocations: 1.69 MB / 1.203 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/1.109, allocations: 33.7 kB / 1.204 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005513/1.11, allocations: 0.5544 MB / 1.204 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/1.11, allocations: 98.58 kB / 1.204 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/1.11, allocations: 33.73 kB / 1.204 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.11, allocations: 321.9 kB / 1.204 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/1.11, allocations: 151.9 kB / 1.205 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/1.111, allocations: 268.4 kB / 1.205 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/1.111, allocations: 404.3 kB / 1.205 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/1.111, allocations: 8 kB / 1.205 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008634/1.112, allocations: 0.5425 MB / 1.206 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.112, allocations: 9.719 kB / 1.206 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.112, allocations: 3.984 kB / 1.206 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/1.112, allocations: 4 kB / 1.206 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/1.112, allocations: 55.91 kB / 1.206 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.112, allocations: 7.938 kB / 1.206 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/1.113, allocations: 110.8 kB / 1.206 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/1.113, allocations: 20 kB / 1.206 GB, free: 12.89 MB / 0.9669 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.0006581/1.114, allocations: 377.6 kB / 1.206 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/1.114, allocations: 142.2 kB / 1.207 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00068/1.115, allocations: 381.1 kB / 1.207 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.115, allocations: 4 kB / 1.207 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.115, allocations: 3.938 kB / 1.207 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.115, allocations: 3.984 kB / 1.207 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00391/1.119, allocations: 2.576 MB / 1.209 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.119, allocations: 4 kB / 1.209 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/1.119, allocations: 51.92 kB / 1.209 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/1.119, allocations: 11.94 kB / 1.209 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/1.119, allocations: 12 kB / 1.209 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/1.119, allocations: 16.48 kB / 1.21 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/1.119, allocations: 11.94 kB / 1.21 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008964/1.12, allocations: 0.6202 MB / 1.21 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005457/1.121, allocations: 311.2 kB / 1.21 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/1.121, allocations: 12.06 kB / 1.21 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/1.121, allocations: 16 kB / 1.21 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/1.121, allocations: 43.78 kB / 1.21 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/1.121, allocations: 20 kB / 1.211 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001918/1.123, allocations: 1.223 MB / 1.212 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.2e-07/1.123, allocations: 3.938 kB / 1.212 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001224/1.125, allocations: 339.7 kB / 1.212 GB, free: 6.422 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.002009/1.127, allocations: 0.6189 MB / 1.213 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005993/1.127, allocations: 339.8 kB / 1.213 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.127, allocations: 0 / 1.213 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/1.127, allocations: 157.3 kB / 1.213 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005417/1.133, allocations: 0.8799 MB / 1.214 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/1.136, allocations: 2.443 MB / 1.216 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/1.137, allocations: 1.205 MB / 1.218 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001014/1.138, allocations: 302.7 kB / 1.218 GB, free: 368 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/1.138, allocations: 79.44 kB / 1.218 GB, free: 288 kB / 0.9669 GB Notification: Performance of SimCode: time 1.613e-06/1.138, allocations: 3.938 kB / 1.218 GB, free: 284 kB / 0.9669 GB Notification: Performance of Templates: time 0.04925/1.188, allocations: 29.11 MB / 1.246 GB, free: 3.547 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches