Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.007144/0.007144, allocations: 102.2 kB / 15.73 MB, free: 6.039 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.001613/0.001613, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.653/2.653, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 71.89 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9356/0.937, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2251/1.162, allocations: 214.1 MB / 1.417 GB, free: 6.695 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01519/1.177, allocations: 12.16 MB / 1.429 GB, free: 10.51 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/1.179, allocations: 43.69 kB / 1.429 GB, free: 10.46 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/1.18, allocations: 0.508 MB / 1.429 GB, free: 9.953 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00465/1.185, allocations: 1.876 MB / 1.431 GB, free: 8.07 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004487/1.189, allocations: 1.912 MB / 1.433 GB, free: 6.164 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003268/1.193, allocations: 2.371 MB / 1.435 GB, free: 3.785 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/1.194, allocations: 1.205 MB / 1.436 GB, free: 2.559 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/1.196, allocations: 0.8366 MB / 1.437 GB, free: 1.719 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007841/1.197, allocations: 0.6496 MB / 1.438 GB, free: 1.066 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/1.197, allocations: 95.94 kB / 1.438 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004977/1.202, allocations: 2.7 MB / 1.441 GB, free: 14.27 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005285/1.202, allocations: 0.5415 MB / 1.441 GB, free: 13.72 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007634/1.203, allocations: 0.7231 MB / 1.442 GB, free: 13 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005413/1.208, allocations: 3.093 MB / 1.445 GB, free: 9.895 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.208, allocations: 0 / 1.445 GB, free: 9.895 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.525e-06/1.209, allocations: 0 / 1.445 GB, free: 9.895 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.617e-05/1.209, allocations: 0 / 1.445 GB, free: 9.895 MB / 1.17 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.00269/1.211, allocations: 1.733 MB / 1.446 GB, free: 8.105 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.211, allocations: 12.03 kB / 1.447 GB, free: 8.094 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/1.213, allocations: 373.8 kB / 1.447 GB, free: 7.727 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/1.215, allocations: 0.9502 MB / 1.448 GB, free: 6.73 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.917e-05/1.215, allocations: 82.02 kB / 1.448 GB, free: 6.648 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/1.215, allocations: 103.9 kB / 1.448 GB, free: 6.547 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/1.217, allocations: 1.513 MB / 1.449 GB, free: 4.922 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/1.217, allocations: 4 kB / 1.449 GB, free: 4.918 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/1.217, allocations: 47.94 kB / 1.449 GB, free: 4.871 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.069e-05/1.217, allocations: 61.48 kB / 1.45 GB, free: 4.812 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/1.219, allocations: 1.013 MB / 1.451 GB, free: 3.801 MB / 1.17 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.006534/1.225, allocations: 5.813 MB / 1.456 GB, free: 13.67 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006971/1.226, allocations: 318.2 kB / 1.457 GB, free: 13.32 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/1.226, allocations: 251.4 kB / 1.457 GB, free: 13.07 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/1.227, allocations: 0.7158 MB / 1.457 GB, free: 12.2 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/1.227, allocations: 34.56 kB / 1.457 GB, free: 12.16 MB / 1.186 GB Notification: Performance of pre-optimization done (n=28): time 3.096e-06/1.227, allocations: 4 kB / 1.457 GB, free: 12.16 MB / 1.186 GB Notification: Performance of matching and sorting (n=28): time 0.00134/1.229, allocations: 0.6713 MB / 1.458 GB, free: 11.48 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/1.229, allocations: 136.5 kB / 1.458 GB, free: 11.31 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/1.231, allocations: 1.654 MB / 1.46 GB, free: 9.645 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/1.231, allocations: 33.7 kB / 1.46 GB, free: 9.605 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000529/1.231, allocations: 0.5463 MB / 1.46 GB, free: 9.055 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.711e-05/1.231, allocations: 94.78 kB / 1.461 GB, free: 8.961 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/1.231, allocations: 73.59 kB / 1.461 GB, free: 8.883 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.232, allocations: 321.9 kB / 1.461 GB, free: 8.562 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/1.232, allocations: 163.9 kB / 1.461 GB, free: 8.402 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/1.232, allocations: 294.1 kB / 1.461 GB, free: 8.078 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/1.233, allocations: 430.6 kB / 1.462 GB, free: 7.621 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.233, allocations: 4 kB / 1.462 GB, free: 7.617 MB / 1.186 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008009/1.234, allocations: 0.5581 MB / 1.462 GB, free: 7.051 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.234, allocations: 6.75 kB / 1.462 GB, free: 7.047 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.234, allocations: 8 kB / 1.462 GB, free: 7.039 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/1.234, allocations: 7.938 kB / 1.462 GB, free: 7.031 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/1.234, allocations: 55.92 kB / 1.462 GB, free: 6.977 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/1.234, allocations: 11.92 kB / 1.462 GB, free: 6.965 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/1.234, allocations: 106.5 kB / 1.463 GB, free: 6.859 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/1.235, allocations: 24 kB / 1.463 GB, free: 6.836 MB / 1.186 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.0004535/1.235, allocations: 381.5 kB / 1.463 GB, free: 6.453 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/1.235, allocations: 138.3 kB / 1.463 GB, free: 6.316 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005538/1.236, allocations: 381.2 kB / 1.463 GB, free: 5.922 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/1.236, allocations: 7.938 kB / 1.463 GB, free: 5.914 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.236, allocations: 0 / 1.463 GB, free: 5.914 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.236, allocations: 3.984 kB / 1.463 GB, free: 5.91 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/1.239, allocations: 2.521 MB / 1.466 GB, free: 3.207 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.239, allocations: 8 kB / 1.466 GB, free: 3.199 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/1.24, allocations: 47.92 kB / 1.466 GB, free: 3.152 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/1.24, allocations: 8 kB / 1.466 GB, free: 3.145 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/1.24, allocations: 20 kB / 1.466 GB, free: 3.125 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/1.24, allocations: 11.94 kB / 1.466 GB, free: 3.113 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/1.24, allocations: 7.938 kB / 1.466 GB, free: 3.105 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008131/1.241, allocations: 0.6187 MB / 1.467 GB, free: 2.387 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/1.241, allocations: 291.2 kB / 1.467 GB, free: 2.082 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/1.241, allocations: 20 kB / 1.467 GB, free: 2.062 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/1.242, allocations: 8 kB / 1.467 GB, free: 2.055 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/1.242, allocations: 39.78 kB / 1.467 GB, free: 2.016 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/1.242, allocations: 16 kB / 1.467 GB, free: 2 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001524/1.243, allocations: 1.211 MB / 1.468 GB, free: 0.793 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.243, allocations: 0 / 1.468 GB, free: 0.793 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009827/1.244, allocations: 327.8 kB / 1.468 GB, free: 484 kB / 1.186 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.001499/1.246, allocations: 0.6051 MB / 1.469 GB, free: 15.87 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005708/1.246, allocations: 368.8 kB / 1.469 GB, free: 15.51 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.246, allocations: 4.062 kB / 1.469 GB, free: 15.5 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/1.247, allocations: 157.2 kB / 1.47 GB, free: 15.35 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00373/1.25, allocations: 0.9206 MB / 1.47 GB, free: 14.46 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/1.253, allocations: 2.074 MB / 1.472 GB, free: 12.27 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008545/1.254, allocations: 1.193 MB / 1.474 GB, free: 11.05 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0007879/1.255, allocations: 298.7 kB / 1.474 GB, free: 10.75 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/1.255, allocations: 87.44 kB / 1.474 GB, free: 10.67 MB / 1.201 GB Notification: Performance of SimCode: time 5.81e-07/1.255, allocations: 0 / 1.474 GB, free: 10.67 MB / 1.201 GB Notification: Performance of Templates: time 0.05026/1.305, allocations: 31.31 MB / 1.505 GB, free: 11.67 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches