Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.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.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|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.Boundary") translateModel(Buildings.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|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.Boundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008137/0.008137, allocations: 99 kB / 15.73 MB, free: 6.059 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.001901/0.001901, allocations: 189.1 kB / 16.67 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.066 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.635/2.635, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.89 kB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3032, allocations: 151.6 MB / 1.167 GB, free: 6.941 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.9656/1.269, allocations: 253.3 MB / 1.414 GB, free: 2.328 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02582/1.295, allocations: 20.59 MB / 1.434 GB, free: 1.551 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002732/1.297, allocations: 79.78 kB / 1.434 GB, free: 1.512 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002145/1.3, allocations: 0.8301 MB / 1.435 GB, free: 0.7539 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007547/1.307, allocations: 2.918 MB / 1.438 GB, free: 14.49 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006612/1.314, allocations: 2.746 MB / 1.441 GB, free: 12.12 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004761/1.319, allocations: 3.823 MB / 1.444 GB, free: 8.289 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/1.32, allocations: 1.305 MB / 1.446 GB, free: 6.957 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/1.323, allocations: 1.435 MB / 1.447 GB, free: 5.52 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/1.324, allocations: 0.9837 MB / 1.448 GB, free: 4.531 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/1.324, allocations: 108 kB / 1.448 GB, free: 4.426 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008131/1.332, allocations: 3.947 MB / 1.452 GB, free: 480 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006154/1.333, allocations: 0.6466 MB / 1.452 GB, free: 15.82 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/1.334, allocations: 0.9833 MB / 1.453 GB, free: 14.83 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006887/1.341, allocations: 4.154 MB / 1.457 GB, free: 10.66 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.341, allocations: 4 kB / 1.457 GB, free: 10.66 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.894e-06/1.341, allocations: 0 / 1.457 GB, free: 10.66 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.18e-05/1.341, allocations: 0 / 1.457 GB, free: 10.66 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002939/1.344, allocations: 2.358 MB / 1.46 GB, free: 8.242 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/1.344, allocations: 12.03 kB / 1.46 GB, free: 8.23 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/1.346, allocations: 490.2 kB / 1.46 GB, free: 7.75 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/1.348, allocations: 1.401 MB / 1.462 GB, free: 6.297 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/1.348, allocations: 94.44 kB / 1.462 GB, free: 6.203 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/1.348, allocations: 128 kB / 1.462 GB, free: 6.078 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/1.35, allocations: 1.712 MB / 1.464 GB, free: 4.227 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/1.35, allocations: 7.938 kB / 1.464 GB, free: 4.219 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.483e-05/1.35, allocations: 52 kB / 1.464 GB, free: 4.168 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.628e-05/1.35, allocations: 67.92 kB / 1.464 GB, free: 4.102 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/1.352, allocations: 1.227 MB / 1.465 GB, free: 2.875 MB / 1.123 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.006634/1.359, allocations: 7.539 MB / 1.472 GB, free: 10.95 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008701/1.36, allocations: 0.6758 MB / 1.473 GB, free: 10.18 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006891/1.36, allocations: 0.6174 MB / 1.473 GB, free: 9.531 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/1.362, allocations: 1.872 MB / 1.475 GB, free: 7.254 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/1.362, allocations: 50.5 kB / 1.475 GB, free: 7.195 MB / 1.139 GB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/1.362, allocations: 0 / 1.475 GB, free: 7.195 MB / 1.139 GB Notification: Performance of matching and sorting (n=72): time 0.00232/1.364, allocations: 1.4 MB / 1.477 GB, free: 5.789 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/1.364, allocations: 302.7 kB / 1.477 GB, free: 5.426 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/1.367, allocations: 1.888 MB / 1.479 GB, free: 3.5 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/1.367, allocations: 41.7 kB / 1.479 GB, free: 3.453 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006473/1.367, allocations: 0.7294 MB / 1.48 GB, free: 2.719 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/1.368, allocations: 257.8 kB / 1.48 GB, free: 2.465 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/1.368, allocations: 134.3 kB / 1.48 GB, free: 2.328 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.368, allocations: 341.8 kB / 1.48 GB, free: 1.988 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/1.368, allocations: 325.1 kB / 1.481 GB, free: 1.668 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006088/1.369, allocations: 0.5625 MB / 1.481 GB, free: 1.059 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009456/1.37, allocations: 0.8646 MB / 1.482 GB, free: 148 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.37, allocations: 8 kB / 1.482 GB, free: 140 kB / 1.139 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001336/1.371, allocations: 1.015 MB / 1.483 GB, free: 15.11 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.371, allocations: 10.03 kB / 1.483 GB, free: 15.11 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.371, allocations: 4.5 kB / 1.483 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/1.371, allocations: 8 kB / 1.483 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/1.372, allocations: 124.1 kB / 1.483 GB, free: 14.97 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/1.372, allocations: 4 kB / 1.483 GB, free: 14.97 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/1.372, allocations: 138.9 kB / 1.483 GB, free: 14.83 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.278e-05/1.372, allocations: 40.12 kB / 1.483 GB, free: 14.79 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0005636/1.373, allocations: 461.4 kB / 1.484 GB, free: 14.33 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003476/1.373, allocations: 202.7 kB / 1.484 GB, free: 14.13 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/1.375, allocations: 1.091 MB / 1.485 GB, free: 13.03 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/1.375, allocations: 8 kB / 1.485 GB, free: 13.02 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.375, allocations: 4 kB / 1.485 GB, free: 13.02 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/1.375, allocations: 7.984 kB / 1.485 GB, free: 13.01 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/1.385, allocations: 8.757 MB / 1.494 GB, free: 3.754 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/1.385, allocations: 20 kB / 1.494 GB, free: 3.734 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/1.386, allocations: 144.6 kB / 1.494 GB, free: 3.594 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.048e-05/1.386, allocations: 20 kB / 1.494 GB, free: 3.574 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/1.386, allocations: 47.92 kB / 1.494 GB, free: 3.527 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.905e-05/1.386, allocations: 23.88 kB / 1.494 GB, free: 3.504 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.378e-05/1.386, allocations: 27.88 kB / 1.494 GB, free: 3.477 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/1.388, allocations: 1.669 MB / 1.495 GB, free: 1.586 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005856/1.388, allocations: 423.5 kB / 1.496 GB, free: 1.152 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/1.388, allocations: 43.92 kB / 1.496 GB, free: 1.109 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/1.389, allocations: 24 kB / 1.496 GB, free: 1.086 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.389, allocations: 107.5 kB / 1.496 GB, free: 0.9805 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.103e-05/1.389, allocations: 55.98 kB / 1.496 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001564/1.391, allocations: 1.324 MB / 1.497 GB, free: 15.58 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/1.391, allocations: 0 / 1.497 GB, free: 15.58 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001479/1.392, allocations: 0.5223 MB / 1.498 GB, free: 15.05 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001952/1.394, allocations: 0.9266 MB / 1.499 GB, free: 14.12 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001156/1.395, allocations: 0.8604 MB / 1.5 GB, free: 13.27 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.395, allocations: 3.938 kB / 1.5 GB, free: 13.27 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005768/1.396, allocations: 486 kB / 1.5 GB, free: 12.79 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005268/1.401, allocations: 1.335 MB / 1.501 GB, free: 11.5 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/1.405, allocations: 3.265 MB / 1.505 GB, free: 7.988 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.406, allocations: 1.41 MB / 1.506 GB, free: 6.547 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001369/1.408, allocations: 486.7 kB / 1.506 GB, free: 6.066 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/1.408, allocations: 123.4 kB / 1.507 GB, free: 5.945 MB / 1.17 GB Notification: Performance of SimCode: time 7.01e-07/1.408, allocations: 0 / 1.507 GB, free: 5.945 MB / 1.17 GB Notification: Performance of Templates: time 0.06603/1.474, allocations: 42.76 MB / 1.548 GB, free: 11.69 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches