Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001784/0.001783, allocations: 101.4 kB / 16.27 MB, free: 5.965 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.001982/0.001982, allocations: 188.7 kB / 17.2 MB, free: 5.59 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.725/2.725, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 64.88 kB / 0.9245 GB, free: 8 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.7704, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2622/1.033, allocations: 214.1 MB / 1.292 GB, free: 8.164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01701/1.05, allocations: 12.16 MB / 1.304 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/1.051, allocations: 43.69 kB / 1.304 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/1.053, allocations: 0.508 MB / 1.304 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00444/1.057, allocations: 1.874 MB / 1.306 GB, free: 9.531 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004659/1.062, allocations: 1.909 MB / 1.308 GB, free: 7.629 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003328/1.065, allocations: 2.336 MB / 1.31 GB, free: 5.285 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/1.067, allocations: 1.232 MB / 1.312 GB, free: 4.035 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006297/1.073, allocations: 2.967 MB / 1.314 GB, free: 1.059 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/1.074, allocations: 0.6496 MB / 1.315 GB, free: 416 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/1.075, allocations: 88 kB / 1.315 GB, free: 328 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005304/1.08, allocations: 2.631 MB / 1.318 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006067/1.081, allocations: 0.5415 MB / 1.318 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009157/1.082, allocations: 0.7386 MB / 1.319 GB, free: 12.4 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004833/1.086, allocations: 3.14 MB / 1.322 GB, free: 9.25 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.086, allocations: 0 / 1.322 GB, free: 9.25 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/1.086, allocations: 0 / 1.322 GB, free: 9.25 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.606e-05/1.086, allocations: 0 / 1.322 GB, free: 9.25 MB / 1.045 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.002465/1.089, allocations: 1.744 MB / 1.324 GB, free: 7.449 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.089, allocations: 8.031 kB / 1.324 GB, free: 7.441 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/1.091, allocations: 377.8 kB / 1.324 GB, free: 7.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/1.092, allocations: 0.8956 MB / 1.325 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/1.092, allocations: 78.06 kB / 1.325 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/1.092, allocations: 100 kB / 1.325 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/1.094, allocations: 1.533 MB / 1.327 GB, free: 4.309 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/1.095, allocations: 3.938 kB / 1.327 GB, free: 4.305 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/1.095, allocations: 52 kB / 1.327 GB, free: 4.254 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.103e-05/1.095, allocations: 61.47 kB / 1.327 GB, free: 4.191 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/1.096, allocations: 1.025 MB / 1.328 GB, free: 3.172 MB / 1.045 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.007396/1.104, allocations: 5.965 MB / 1.334 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/1.104, allocations: 326.1 kB / 1.334 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/1.105, allocations: 247.4 kB / 1.334 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007699/1.105, allocations: 0.7078 MB / 1.335 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/1.105, allocations: 46.75 kB / 1.335 GB, free: 11.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 2.484e-06/1.105, allocations: 0 / 1.335 GB, free: 11.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.001357/1.107, allocations: 0.6637 MB / 1.336 GB, free: 10.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/1.107, allocations: 136.5 kB / 1.336 GB, free: 10.54 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/1.109, allocations: 1.69 MB / 1.337 GB, free: 8.836 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/1.109, allocations: 29.7 kB / 1.337 GB, free: 8.801 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005471/1.11, allocations: 0.5544 MB / 1.338 GB, free: 8.242 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.419e-05/1.11, allocations: 98.55 kB / 1.338 GB, free: 8.145 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/1.11, allocations: 73.69 kB / 1.338 GB, free: 8.066 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.11, allocations: 322 kB / 1.338 GB, free: 7.746 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/1.11, allocations: 151.9 kB / 1.339 GB, free: 7.598 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/1.111, allocations: 272.4 kB / 1.339 GB, free: 7.301 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/1.111, allocations: 400.3 kB / 1.339 GB, free: 6.879 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.111, allocations: 3.938 kB / 1.339 GB, free: 6.875 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008534/1.112, allocations: 0.5548 MB / 1.34 GB, free: 6.312 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.112, allocations: 4 kB / 1.34 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/1.112, allocations: 4 kB / 1.34 GB, free: 6.305 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/1.112, allocations: 4 kB / 1.34 GB, free: 6.301 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/1.112, allocations: 51.91 kB / 1.34 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/1.112, allocations: 8.094 kB / 1.34 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/1.113, allocations: 110.5 kB / 1.34 GB, free: 6.133 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/1.113, allocations: 32.17 kB / 1.34 GB, free: 6.102 MB / 1.061 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.0005466/1.114, allocations: 373.6 kB / 1.34 GB, free: 5.727 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/1.114, allocations: 138.2 kB / 1.34 GB, free: 5.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/1.115, allocations: 389.1 kB / 1.341 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.115, allocations: 0 / 1.341 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/1.115, allocations: 7.938 kB / 1.341 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.115, allocations: 4 kB / 1.341 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/1.119, allocations: 2.604 MB / 1.343 GB, free: 2.387 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/1.12, allocations: 12.12 kB / 1.343 GB, free: 2.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/1.12, allocations: 55.91 kB / 1.343 GB, free: 2.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/1.12, allocations: 8 kB / 1.343 GB, free: 2.312 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/1.12, allocations: 12 kB / 1.343 GB, free: 2.301 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/1.12, allocations: 11.94 kB / 1.343 GB, free: 2.289 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/1.12, allocations: 7.938 kB / 1.343 GB, free: 2.281 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/1.121, allocations: 0.624 MB / 1.344 GB, free: 1.559 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006497/1.122, allocations: 295.2 kB / 1.344 GB, free: 1.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/1.122, allocations: 12 kB / 1.344 GB, free: 1.238 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/1.122, allocations: 12 kB / 1.344 GB, free: 1.227 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/1.122, allocations: 39.78 kB / 1.344 GB, free: 1.188 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.682e-05/1.123, allocations: 16 kB / 1.344 GB, free: 1.172 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00228/1.125, allocations: 1.223 MB / 1.346 GB, free: 15.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.41e-07/1.125, allocations: 4 kB / 1.346 GB, free: 15.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001456/1.126, allocations: 335.8 kB / 1.346 GB, free: 15.62 MB / 1.076 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.002301/1.129, allocations: 0.627 MB / 1.347 GB, free: 14.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000836/1.129, allocations: 355.4 kB / 1.347 GB, free: 14.64 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/1.129, allocations: 0 / 1.347 GB, free: 14.64 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/1.13, allocations: 157.4 kB / 1.347 GB, free: 14.49 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005893/1.136, allocations: 0.9279 MB / 1.348 GB, free: 13.6 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/1.14, allocations: 2.212 MB / 1.35 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.141, allocations: 1.201 MB / 1.351 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/1.142, allocations: 83.42 kB / 1.351 GB, free: 9.957 MB / 1.076 GB Notification: Performance of SimCode: time 9.12e-07/1.142, allocations: 4 kB / 1.351 GB, free: 9.953 MB / 1.076 GB Notification: Performance of Templates: time 0.04762/1.189, allocations: 24.82 MB / 1.376 GB, free: 1.305 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches