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.001384/0.001384, allocations: 100.1 kB / 15.88 MB, free: 12 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.001552/0.001552, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.342/1.342, allocations: 222.9 MB / 240.5 MB, free: 4.582 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.6/2.6, allocations: 437 MB / 0.7106 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 59.91 kB / 0.8692 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6676/0.6691, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2299/0.8991, allocations: 212.5 MB / 1.225 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0168/0.9159, allocations: 12.28 MB / 1.237 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.9179, allocations: 47.62 kB / 1.237 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.9196, allocations: 405.3 kB / 1.237 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005081/0.9247, allocations: 1.77 MB / 1.239 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004849/0.9296, allocations: 1.723 MB / 1.241 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003839/0.9334, allocations: 3.046 MB / 1.244 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.9353, allocations: 1.055 MB / 1.245 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.9371, allocations: 0.7234 MB / 1.245 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.9384, allocations: 0.7079 MB / 1.246 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002677/0.9387, allocations: 48 kB / 1.246 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007267/0.9459, allocations: 3.526 MB / 1.249 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008243/0.9468, allocations: 0.5025 MB / 1.25 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.9483, allocations: 0.68 MB / 1.251 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004102/0.9525, allocations: 2.448 MB / 1.253 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.9525, allocations: 4 kB / 1.253 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9525, allocations: 0 / 1.253 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.361e-05/0.9526, allocations: 0 / 1.253 GB, free: 0.4922 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.5767/1.529, allocations: 1.736 MB / 1.255 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/1.529, allocations: 9.281 kB / 1.255 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/1.531, allocations: 374.2 kB / 1.255 GB, free: 236.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/1.533, allocations: 0.894 MB / 1.256 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-05/1.533, allocations: 76.56 kB / 1.256 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/1.533, allocations: 103.8 kB / 1.256 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/1.536, allocations: 1.53 MB / 1.258 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/1.536, allocations: 2.312 kB / 1.258 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/1.537, allocations: 49.25 kB / 1.258 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/1.537, allocations: 58.11 kB / 1.258 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/1.539, allocations: 1.03 MB / 1.259 GB, free: 234.6 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.007991/1.547, allocations: 5.962 MB / 1.265 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/1.547, allocations: 315.9 kB / 1.265 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/1.548, allocations: 254.8 kB / 1.265 GB, free: 230 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/1.548, allocations: 0.7083 MB / 1.266 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.548, allocations: 34.84 kB / 1.266 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.414e-06/1.548, allocations: 3.875 kB / 1.266 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001713/1.55, allocations: 0.6705 MB / 1.266 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/1.55, allocations: 137.5 kB / 1.267 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/1.553, allocations: 1.683 MB / 1.268 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/1.554, allocations: 32.61 kB / 1.268 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005548/1.554, allocations: 0.5662 MB / 1.269 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/1.554, allocations: 98.16 kB / 1.269 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/1.554, allocations: 62.45 kB / 1.269 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.371e-05/1.554, allocations: 317 kB / 1.269 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/1.555, allocations: 157.3 kB / 1.269 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/1.555, allocations: 272.4 kB / 1.27 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006836/1.556, allocations: 405.9 kB / 1.27 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.556, allocations: 0.5312 kB / 1.27 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009672/1.557, allocations: 0.5432 MB / 1.271 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.557, allocations: 6.078 kB / 1.271 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.557, allocations: 6 kB / 1.271 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/1.557, allocations: 4.125 kB / 1.271 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/1.557, allocations: 59.73 kB / 1.271 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/1.557, allocations: 8.484 kB / 1.271 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007865/1.558, allocations: 113.3 kB / 1.271 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/1.558, allocations: 18.56 kB / 1.271 GB, free: 226.6 MB / 0.9981 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.0005058/1.559, allocations: 379.1 kB / 1.271 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/1.559, allocations: 143.7 kB / 1.271 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006413/1.56, allocations: 378.2 kB / 1.272 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/1.56, allocations: 8.125 kB / 1.272 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.56, allocations: 5.062 kB / 1.272 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/1.56, allocations: 1.359 kB / 1.272 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004203/1.564, allocations: 2.618 MB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.564, allocations: 6.766 kB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/1.564, allocations: 47.66 kB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/1.564, allocations: 7.875 kB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/1.564, allocations: 14.7 kB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/1.564, allocations: 12.2 kB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/1.564, allocations: 6.281 kB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007883/1.565, allocations: 0.6286 MB / 1.275 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005305/1.566, allocations: 297 kB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/1.566, allocations: 19.03 kB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/1.566, allocations: 18.89 kB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/1.566, allocations: 44.03 kB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/1.566, allocations: 18.84 kB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001914/1.568, allocations: 1.227 MB / 1.277 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.11e-07/1.568, allocations: 0 / 1.277 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001284/1.569, allocations: 339.4 kB / 1.277 GB, free: 223.4 MB / 0.9981 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.001849/1.571, allocations: 0.6277 MB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007062/1.572, allocations: 342 kB / 1.278 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.572, allocations: 1 kB / 1.278 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002288/1.572, allocations: 159.7 kB / 1.278 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003944/1.576, allocations: 0.8663 MB / 1.279 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/1.579, allocations: 2.491 MB / 1.281 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/1.58, allocations: 1.196 MB / 1.282 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/1.58, allocations: 88.06 kB / 1.283 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.58, allocations: 0 / 1.283 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03158/1.612, allocations: 24.82 MB / 1.307 GB, free: 198.7 MB / 0.9981 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/jenkins1/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