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.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.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.007366/0.007366, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.001714/0.001714, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.671/2.671, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3223, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.9966/1.319, allocations: 214.1 MB / 1.376 GB, free: 1.609 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01723/1.336, allocations: 12.16 MB / 1.388 GB, free: 7.867 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/1.339, allocations: 43.31 kB / 1.388 GB, free: 7.848 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/1.34, allocations: 0.5078 MB / 1.388 GB, free: 7.387 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007425/1.348, allocations: 1.963 MB / 1.39 GB, free: 5.898 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00576/1.354, allocations: 1.937 MB / 1.392 GB, free: 4.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00352/1.357, allocations: 2.348 MB / 1.394 GB, free: 3.098 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/1.359, allocations: 1.242 MB / 1.395 GB, free: 2.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/1.361, allocations: 0.8416 MB / 1.396 GB, free: 1.922 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007593/1.361, allocations: 0.6661 MB / 1.397 GB, free: 1.516 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/1.361, allocations: 90.5 kB / 1.397 GB, free: 1.516 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00634/1.368, allocations: 2.71 MB / 1.4 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005679/1.368, allocations: 0.5434 MB / 1.4 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008614/1.369, allocations: 0.7365 MB / 1.401 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005952/1.375, allocations: 3.115 MB / 1.404 GB, free: 13.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.375, allocations: 0 / 1.404 GB, free: 13.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.744e-06/1.375, allocations: 1.938 kB / 1.404 GB, free: 13.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.864e-05/1.375, allocations: 0 / 1.404 GB, free: 13.25 MB / 1.076 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.002518/1.378, allocations: 1.789 MB / 1.406 GB, free: 11.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/1.378, allocations: 7.688 kB / 1.406 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/1.38, allocations: 390.2 kB / 1.406 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/1.381, allocations: 0.9672 MB / 1.407 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/1.381, allocations: 79.38 kB / 1.407 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/1.381, allocations: 97.06 kB / 1.407 GB, free: 10.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/1.383, allocations: 1.533 MB / 1.409 GB, free: 9.883 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/1.383, allocations: 6.031 kB / 1.409 GB, free: 9.879 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/1.384, allocations: 44.62 kB / 1.409 GB, free: 9.848 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-05/1.384, allocations: 65.31 kB / 1.409 GB, free: 9.832 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/1.385, allocations: 1.027 MB / 1.41 GB, free: 9.332 MB / 1.076 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.005879/1.391, allocations: 5.865 MB / 1.415 GB, free: 4.234 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/1.391, allocations: 326.3 kB / 1.416 GB, free: 4.012 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/1.392, allocations: 241.2 kB / 1.416 GB, free: 3.879 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006639/1.392, allocations: 0.7103 MB / 1.417 GB, free: 3.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/1.392, allocations: 41.25 kB / 1.417 GB, free: 3.043 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/1.392, allocations: 0 / 1.417 GB, free: 3.043 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001258/1.394, allocations: 0.6767 MB / 1.417 GB, free: 2.695 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/1.394, allocations: 137.9 kB / 1.418 GB, free: 2.535 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/1.396, allocations: 1.687 MB / 1.419 GB, free: 1.121 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/1.396, allocations: 33.7 kB / 1.419 GB, free: 1.082 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/1.396, allocations: 0.5623 MB / 1.42 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.36e-05/1.396, allocations: 99.16 kB / 1.42 GB, free: 428 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/1.396, allocations: 61.69 kB / 1.42 GB, free: 360 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.397, allocations: 322 kB / 1.42 GB, free: 32 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/1.397, allocations: 155.9 kB / 1.42 GB, free: 15.88 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/1.397, allocations: 266 kB / 1.421 GB, free: 15.59 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/1.398, allocations: 408.9 kB / 1.421 GB, free: 15.16 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.398, allocations: 4 kB / 1.421 GB, free: 15.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007552/1.398, allocations: 0.5549 MB / 1.422 GB, free: 14.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.398, allocations: 8 kB / 1.422 GB, free: 14.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.398, allocations: 0 / 1.422 GB, free: 14.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.398, allocations: 4 kB / 1.422 GB, free: 14.58 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/1.399, allocations: 55.92 kB / 1.422 GB, free: 14.53 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.557e-06/1.399, allocations: 4 kB / 1.422 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/1.399, allocations: 118.8 kB / 1.422 GB, free: 14.41 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/1.399, allocations: 20.06 kB / 1.422 GB, free: 14.39 MB / 1.092 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.0004564/1.4, allocations: 381.8 kB / 1.422 GB, free: 14 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/1.4, allocations: 143.1 kB / 1.422 GB, free: 13.86 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005616/1.4, allocations: 384.8 kB / 1.423 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/1.4, allocations: 4 kB / 1.423 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.4, allocations: 0 / 1.423 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/1.4, allocations: 3.938 kB / 1.423 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.404, allocations: 2.521 MB / 1.425 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/1.404, allocations: 11.94 kB / 1.425 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/1.404, allocations: 47.91 kB / 1.425 GB, free: 10.69 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/1.404, allocations: 8 kB / 1.425 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/1.404, allocations: 16.69 kB / 1.425 GB, free: 10.67 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/1.404, allocations: 7.938 kB / 1.425 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.404, allocations: 15.94 kB / 1.425 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/1.405, allocations: 0.6283 MB / 1.426 GB, free: 9.918 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005228/1.405, allocations: 308 kB / 1.426 GB, free: 9.598 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/1.405, allocations: 15.94 kB / 1.426 GB, free: 9.582 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/1.406, allocations: 8 kB / 1.426 GB, free: 9.574 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/1.406, allocations: 47.72 kB / 1.426 GB, free: 9.527 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/1.406, allocations: 16 kB / 1.426 GB, free: 9.512 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001472/1.407, allocations: 1.223 MB / 1.427 GB, free: 8.293 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.1e-07/1.407, allocations: 0 / 1.427 GB, free: 8.293 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009889/1.408, allocations: 327.4 kB / 1.428 GB, free: 7.973 MB / 1.092 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.00141/1.41, allocations: 0.6122 MB / 1.428 GB, free: 7.359 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005611/1.41, allocations: 367.3 kB / 1.429 GB, free: 7 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.41, allocations: 0 / 1.429 GB, free: 7 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/1.411, allocations: 157 kB / 1.429 GB, free: 6.848 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/1.414, allocations: 0.9229 MB / 1.43 GB, free: 5.957 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/1.417, allocations: 2.146 MB / 1.432 GB, free: 3.699 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007797/1.418, allocations: 1.208 MB / 1.433 GB, free: 2.461 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00079/1.419, allocations: 302.6 kB / 1.433 GB, free: 2.16 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/1.419, allocations: 79.44 kB / 1.433 GB, free: 2.082 MB / 1.092 GB Notification: Performance of SimCode: time 6.01e-07/1.419, allocations: 0 / 1.433 GB, free: 2.082 MB / 1.092 GB Notification: Performance of Templates: time 0.04813/1.467, allocations: 30.96 MB / 1.464 GB, free: 3.473 MB / 1.123 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