Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.001027/0.001027, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001228/0.001229, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003336, allocations: 8 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5781/0.5785, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1997/0.7782, allocations: 195.6 MB / 1.213 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01398/0.7922, allocations: 11.47 MB / 1.225 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.7935, allocations: 47.56 kB / 1.225 GB, free: 340 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.7945, allocations: 365.2 kB / 1.225 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003592/0.7981, allocations: 1.411 MB / 1.226 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.8016, allocations: 1.293 MB / 1.228 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002833/0.8044, allocations: 2.616 MB / 1.23 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.8057, allocations: 0.8824 MB / 1.231 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.8068, allocations: 0.6962 MB / 1.232 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007568/0.8076, allocations: 0.6419 MB / 1.232 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.8077, allocations: 39.98 kB / 1.232 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004651/0.8123, allocations: 2.152 MB / 1.235 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005233/0.8129, allocations: 498.6 kB / 1.235 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.8132, allocations: 309 kB / 1.235 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002641/0.8159, allocations: 2.264 MB / 1.238 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8159, allocations: 0 / 1.238 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8159, allocations: 3.938 kB / 1.238 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.8159, allocations: 0 / 1.238 GB, free: 3.137 MB / 0.9825 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.001897/0.8178, allocations: 1.456 MB / 1.239 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8179, allocations: 8.031 kB / 1.239 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.8194, allocations: 381.7 kB / 1.239 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.8206, allocations: 0.8535 MB / 1.24 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/0.8207, allocations: 78.06 kB / 1.24 GB, free: 272 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.8208, allocations: 100 kB / 1.24 GB, free: 172 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5105/1.331, allocations: 1.517 MB / 1.242 GB, free: 16.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/1.331, allocations: 3.906 kB / 1.242 GB, free: 16.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-05/1.331, allocations: 50.88 kB / 1.242 GB, free: 16.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.742e-05/1.332, allocations: 59.77 kB / 1.242 GB, free: 16.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/1.333, allocations: 1.012 MB / 1.243 GB, free: 16.66 MB / 0.9825 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.005861/1.339, allocations: 5.916 MB / 1.249 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/1.34, allocations: 317.5 kB / 1.249 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/1.34, allocations: 249.3 kB / 1.249 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005667/1.341, allocations: 0.7137 MB / 1.25 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/1.341, allocations: 36.77 kB / 1.25 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 3.196e-06/1.341, allocations: 0.75 kB / 1.25 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.001389/1.342, allocations: 0.6684 MB / 1.251 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/1.342, allocations: 140.8 kB / 1.251 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/1.344, allocations: 1.668 MB / 1.252 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/1.344, allocations: 35.98 kB / 1.252 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/1.345, allocations: 0.5584 MB / 1.253 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/1.345, allocations: 94.09 kB / 1.253 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/1.345, allocations: 6.406 kB / 1.253 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 5.05e-05/1.345, allocations: 319.5 kB / 1.253 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/1.345, allocations: 154 kB / 1.253 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/1.346, allocations: 271.1 kB / 1.254 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/1.346, allocations: 192.1 kB / 1.254 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.346, allocations: 0 / 1.254 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008539/1.347, allocations: 0.5398 MB / 1.254 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.347, allocations: 5.703 kB / 1.254 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.347, allocations: 2.469 kB / 1.254 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.347, allocations: 7.547 kB / 1.254 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/1.347, allocations: 58.12 kB / 1.255 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.347, allocations: 8.438 kB / 1.255 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/1.348, allocations: 111.2 kB / 1.255 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/1.348, allocations: 25.06 kB / 1.255 GB, free: 11.16 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006233/1.348, allocations: 376.5 kB / 1.255 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/1.349, allocations: 138.9 kB / 1.255 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007106/1.349, allocations: 382.2 kB / 1.256 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/1.349, allocations: 7.703 kB / 1.256 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.349, allocations: 5.812 kB / 1.256 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.349, allocations: 2.125 kB / 1.256 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/1.353, allocations: 2.554 MB / 1.258 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/1.353, allocations: 5.938 kB / 1.258 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/1.353, allocations: 58.98 kB / 1.258 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/1.353, allocations: 9.094 kB / 1.258 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/1.353, allocations: 16.39 kB / 1.258 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/1.353, allocations: 10.7 kB / 1.258 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.353, allocations: 10.62 kB / 1.258 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/1.354, allocations: 0.6132 MB / 1.259 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/1.354, allocations: 308.8 kB / 1.259 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/1.355, allocations: 14.05 kB / 1.259 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/1.355, allocations: 15.66 kB / 1.259 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/1.355, allocations: 37 kB / 1.259 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/1.355, allocations: 19.55 kB / 1.259 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001626/1.357, allocations: 1.196 MB / 1.26 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.357, allocations: 0 / 1.26 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001126/1.358, allocations: 342.6 kB / 1.261 GB, free: 9.25 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001386/1.359, allocations: 0.5159 MB / 1.261 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000585/1.36, allocations: 332.3 kB / 1.261 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.36, allocations: 4.375 kB / 1.261 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/1.36, allocations: 160.9 kB / 1.262 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003607/1.364, allocations: 0.8466 MB / 1.262 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/1.366, allocations: 2.301 MB / 1.265 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/1.367, allocations: 1.208 MB / 1.266 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009928/1.368, allocations: 299.7 kB / 1.266 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/1.368, allocations: 79.89 kB / 1.266 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/1.368, allocations: 3 kB / 1.266 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of Templates: time 0.03915/1.408, allocations: 27.87 MB / 1.293 GB, free: 3.625 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches