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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00127/0.001271, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.48/2.48, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.747, allocations: 142.4 MB / 0.9557 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2345/0.9816, allocations: 209.6 MB / 1.16 GB, free: 13.01 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.998, allocations: 12.14 MB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/1, allocations: 47.56 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/1.002, allocations: 405.3 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005626/1.007, allocations: 1.747 MB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005071/1.012, allocations: 1.744 MB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003972/1.016, allocations: 3.046 MB / 1.179 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/1.018, allocations: 1.012 MB / 1.18 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/1.02, allocations: 0.6804 MB / 1.181 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/1.021, allocations: 0.6611 MB / 1.181 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002295/1.022, allocations: 36 kB / 1.181 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00679/1.028, allocations: 3.518 MB / 1.185 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006538/1.029, allocations: 482.6 kB / 1.185 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008937/1.03, allocations: 0.6778 MB / 1.186 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003653/1.034, allocations: 2.428 MB / 1.188 GB, free: 312 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.034, allocations: 0 / 1.188 GB, free: 312 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.674e-06/1.034, allocations: 0 / 1.188 GB, free: 312 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.963e-05/1.034, allocations: 0 / 1.188 GB, free: 312 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002293/1.036, allocations: 1.445 MB / 1.19 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.036, allocations: 12.03 kB / 1.19 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/1.038, allocations: 381.7 kB / 1.19 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/1.039, allocations: 0.8878 MB / 1.191 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/1.039, allocations: 78.05 kB / 1.191 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/1.039, allocations: 104 kB / 1.191 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/1.041, allocations: 1.525 MB / 1.193 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/1.041, allocations: 4 kB / 1.193 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/1.041, allocations: 48 kB / 1.193 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.537e-05/1.041, allocations: 65.47 kB / 1.193 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/1.043, allocations: 1.036 MB / 1.194 GB, free: 10.52 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.006031/1.049, allocations: 5.91 MB / 1.2 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/1.05, allocations: 318.2 kB / 1.2 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/1.05, allocations: 255.2 kB / 1.2 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006999/1.051, allocations: 0.7081 MB / 1.201 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/1.051, allocations: 42.56 kB / 1.201 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.996e-06/1.051, allocations: 0 / 1.201 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001367/1.052, allocations: 0.6713 MB / 1.201 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/1.052, allocations: 132.5 kB / 1.202 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/1.054, allocations: 1.678 MB / 1.203 GB, free: 260 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/1.054, allocations: 33.83 kB / 1.203 GB, free: 220 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/1.055, allocations: 0.5661 MB / 1.204 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/1.055, allocations: 94.59 kB / 1.204 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/1.055, allocations: 29.7 kB / 1.204 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.055, allocations: 318 kB / 1.204 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/1.055, allocations: 159.8 kB / 1.204 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/1.055, allocations: 264.5 kB / 1.205 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/1.056, allocations: 420.2 kB / 1.205 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.056, allocations: 0 / 1.205 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007522/1.057, allocations: 0.5431 MB / 1.206 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.057, allocations: 4 kB / 1.206 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.057, allocations: 7.938 kB / 1.206 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.057, allocations: 4 kB / 1.206 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/1.057, allocations: 52.11 kB / 1.206 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.057, allocations: 8 kB / 1.206 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/1.058, allocations: 114.6 kB / 1.206 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/1.058, allocations: 19.98 kB / 1.206 GB, free: 13.55 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.000439/1.058, allocations: 381.6 kB / 1.206 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/1.058, allocations: 138.2 kB / 1.206 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/1.059, allocations: 385.2 kB / 1.207 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/1.059, allocations: 4 kB / 1.207 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.059, allocations: 3.938 kB / 1.207 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.059, allocations: 4 kB / 1.207 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/1.062, allocations: 2.571 MB / 1.209 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.062, allocations: 8 kB / 1.209 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/1.062, allocations: 48.72 kB / 1.209 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/1.062, allocations: 11.94 kB / 1.209 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/1.062, allocations: 16 kB / 1.209 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/1.062, allocations: 11.94 kB / 1.209 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.062, allocations: 8 kB / 1.209 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/1.063, allocations: 0.6318 MB / 1.21 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/1.064, allocations: 303.2 kB / 1.21 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/1.064, allocations: 15.98 kB / 1.21 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/1.064, allocations: 16 kB / 1.21 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/1.064, allocations: 35.84 kB / 1.21 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/1.064, allocations: 20 kB / 1.21 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00154/1.066, allocations: 1.219 MB / 1.211 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.066, allocations: 3.938 kB / 1.211 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001061/1.067, allocations: 343.7 kB / 1.212 GB, free: 7.086 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.068, allocations: 0.6212 MB / 1.212 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005272/1.069, allocations: 339.9 kB / 1.213 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.069, allocations: 0 / 1.213 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/1.069, allocations: 157.4 kB / 1.213 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004981/1.074, allocations: 0.8756 MB / 1.214 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/1.078, allocations: 2.509 MB / 1.216 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008367/1.078, allocations: 1.205 MB / 1.217 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/1.079, allocations: 83.44 kB / 1.217 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of SimCode: time 7.51e-07/1.079, allocations: 0 / 1.217 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of Templates: time 0.03677/1.115, allocations: 24.62 MB / 1.241 GB, free: 8.727 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/jenkins1/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