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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00131/0.00131, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001327/0.001327, allocations: 194.3 kB / 16.14 MB, free: 6.688 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.875/2.875, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.001971, allocations: 67.88 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7172/0.7192, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2499/0.9691, allocations: 212.5 MB / 1.224 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01636/0.9855, allocations: 12.28 MB / 1.236 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.9869, allocations: 55.5 kB / 1.236 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.9882, allocations: 397.4 kB / 1.237 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004394/0.9926, allocations: 1.774 MB / 1.238 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.997, allocations: 1.722 MB / 1.24 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003708/1.001, allocations: 3.069 MB / 1.243 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/1.002, allocations: 1.027 MB / 1.244 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/1.003, allocations: 0.7195 MB / 1.245 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009043/1.004, allocations: 0.7119 MB / 1.245 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/1.005, allocations: 48 kB / 1.245 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006407/1.011, allocations: 3.522 MB / 1.249 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005604/1.012, allocations: 0.4985 MB / 1.249 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008442/1.012, allocations: 0.6723 MB / 1.25 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6352/1.648, allocations: 3.339 MB / 1.253 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.648, allocations: 0 / 1.253 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.266e-06/1.648, allocations: 2.469 kB / 1.253 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.788e-05/1.648, allocations: 0 / 1.253 GB, free: 10.98 MB / 0.9981 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.003428/1.651, allocations: 1.727 MB / 1.255 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.651, allocations: 9.719 kB / 1.255 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/1.653, allocations: 369 kB / 1.255 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/1.655, allocations: 0.892 MB / 1.256 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/1.655, allocations: 79.5 kB / 1.256 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/1.655, allocations: 100.5 kB / 1.256 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/1.658, allocations: 1.511 MB / 1.258 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/1.658, allocations: 3 kB / 1.258 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.658, allocations: 47.72 kB / 1.258 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/1.658, allocations: 58.84 kB / 1.258 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/1.66, allocations: 1.013 MB / 1.259 GB, free: 9.574 MB / 0.9981 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.007881/1.668, allocations: 5.933 MB / 1.265 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/1.669, allocations: 315.2 kB / 1.265 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/1.669, allocations: 251.1 kB / 1.265 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006886/1.67, allocations: 0.7126 MB / 1.266 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/1.67, allocations: 44.97 kB / 1.266 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.956e-06/1.67, allocations: 1.406 kB / 1.266 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001848/1.672, allocations: 0.6688 MB / 1.267 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/1.672, allocations: 132.4 kB / 1.267 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/1.675, allocations: 1.656 MB / 1.268 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/1.675, allocations: 36.28 kB / 1.268 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005654/1.676, allocations: 0.5469 MB / 1.269 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/1.676, allocations: 99.69 kB / 1.269 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/1.676, allocations: 69.09 kB / 1.269 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0003617/1.676, allocations: 319.6 kB / 1.269 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/1.677, allocations: 158.3 kB / 1.27 GB, free: 20.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/1.677, allocations: 290.3 kB / 1.27 GB, free: 20.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/1.678, allocations: 436.7 kB / 1.27 GB, free: 20.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.678, allocations: 2.297 kB / 1.27 GB, free: 20.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001034/1.679, allocations: 0.5633 MB / 1.271 GB, free: 19.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.679, allocations: 5.969 kB / 1.271 GB, free: 19.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.679, allocations: 2.5 kB / 1.271 GB, free: 19.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/1.679, allocations: 7 kB / 1.271 GB, free: 19.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/1.679, allocations: 59.42 kB / 1.271 GB, free: 19.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/1.679, allocations: 5.969 kB / 1.271 GB, free: 19.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008359/1.68, allocations: 118 kB / 1.271 GB, free: 19.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/1.68, allocations: 23.67 kB / 1.271 GB, free: 19.85 MB / 1.014 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.0005575/1.681, allocations: 373.8 kB / 1.271 GB, free: 19.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/1.681, allocations: 138.8 kB / 1.272 GB, free: 19.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006097/1.682, allocations: 386.7 kB / 1.272 GB, free: 19.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/1.682, allocations: 4.031 kB / 1.272 GB, free: 19.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.682, allocations: 5.188 kB / 1.272 GB, free: 19.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.682, allocations: 1.828 kB / 1.272 GB, free: 19.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/1.686, allocations: 2.604 MB / 1.274 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.686, allocations: 4.906 kB / 1.274 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/1.686, allocations: 51.86 kB / 1.274 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/1.686, allocations: 6.562 kB / 1.274 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/1.686, allocations: 13.25 kB / 1.275 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.51e-05/1.686, allocations: 16.28 kB / 1.275 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/1.686, allocations: 10.19 kB / 1.275 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/1.687, allocations: 0.6193 MB / 1.275 GB, free: 18.22 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005212/1.687, allocations: 286.2 kB / 1.275 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/1.688, allocations: 13.98 kB / 1.275 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/1.688, allocations: 23.3 kB / 1.275 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/1.688, allocations: 44.33 kB / 1.275 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/1.688, allocations: 16.22 kB / 1.276 GB, free: 18.04 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001709/1.69, allocations: 1.211 MB / 1.277 GB, free: 17.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.69, allocations: 1.094 kB / 1.277 GB, free: 17.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001277/1.691, allocations: 338.1 kB / 1.277 GB, free: 17.89 MB / 1.014 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.001764/1.693, allocations: 0.6237 MB / 1.278 GB, free: 17.71 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006773/1.694, allocations: 342.1 kB / 1.278 GB, free: 17.71 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.694, allocations: 1.375 kB / 1.278 GB, free: 17.71 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/1.694, allocations: 160.9 kB / 1.278 GB, free: 17.71 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004233/1.698, allocations: 0.8663 MB / 1.279 GB, free: 17.64 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/1.701, allocations: 2.399 MB / 1.281 GB, free: 16.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009036/1.702, allocations: 1.197 MB / 1.282 GB, free: 15.67 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00129/1.703, allocations: 301.2 kB / 1.283 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/1.703, allocations: 83.72 kB / 1.283 GB, free: 15.61 MB / 1.014 GB Notification: Performance of SimCode: time 1.132e-06/1.703, allocations: 5.203 kB / 1.283 GB, free: 15.6 MB / 1.014 GB Notification: Performance of Templates: time 0.04953/1.753, allocations: 29.2 MB / 1.311 GB, free: 13.03 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=400 -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/jenkins/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