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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001644/0.001644, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001866/0.001866, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.357/1.357, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 62.69 kB / 0.8132 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3048, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.8361/1.141, allocations: 214.1 MB / 1.159 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01461/1.156, allocations: 12.17 MB / 1.171 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/1.158, allocations: 43.5 kB / 1.171 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/1.16, allocations: 0.5121 MB / 1.172 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005917/1.166, allocations: 1.875 MB / 1.174 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005442/1.171, allocations: 1.9 MB / 1.175 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003923/1.175, allocations: 2.354 MB / 1.178 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/1.177, allocations: 1.236 MB / 1.179 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/1.179, allocations: 0.8247 MB / 1.18 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009072/1.18, allocations: 0.6569 MB / 1.18 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/1.18, allocations: 91.25 kB / 1.18 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00672/1.187, allocations: 2.838 MB / 1.183 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006244/1.187, allocations: 0.5387 MB / 1.184 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/1.188, allocations: 0.7394 MB / 1.184 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00636/1.195, allocations: 3.146 MB / 1.188 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.195, allocations: 0 / 1.188 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.593e-06/1.195, allocations: 3.938 kB / 1.188 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.142e-05/1.195, allocations: 0 / 1.188 GB, free: 9.316 MB / 0.8731 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.002589/1.197, allocations: 1.732 MB / 1.189 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.197, allocations: 10.28 kB / 1.189 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/1.199, allocations: 381.8 kB / 1.19 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/1.2, allocations: 0.8955 MB / 1.19 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/1.2, allocations: 75.5 kB / 1.191 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/1.2, allocations: 105 kB / 1.191 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/1.202, allocations: 1.528 MB / 1.192 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/1.202, allocations: 6.125 kB / 1.192 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-05/1.203, allocations: 45.72 kB / 1.192 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.96e-05/1.203, allocations: 64.98 kB / 1.192 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/1.204, allocations: 1.027 MB / 1.193 GB, free: 5.543 MB / 0.8731 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.006319/1.21, allocations: 5.971 MB / 1.199 GB, free: 456 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/1.211, allocations: 314.4 kB / 1.199 GB, free: 240 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/1.211, allocations: 249.4 kB / 1.2 GB, free: 100 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007453/1.212, allocations: 0.7049 MB / 1.2 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/1.212, allocations: 47.12 kB / 1.2 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 2.755e-06/1.212, allocations: 3.938 kB / 1.2 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.001323/1.213, allocations: 0.6725 MB / 1.201 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/1.213, allocations: 132.9 kB / 1.201 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/1.215, allocations: 1.684 MB / 1.203 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/1.215, allocations: 32.92 kB / 1.203 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004878/1.216, allocations: 0.5606 MB / 1.203 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.386e-05/1.216, allocations: 98.17 kB / 1.203 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/1.216, allocations: 64.7 kB / 1.204 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.216, allocations: 317.5 kB / 1.204 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/1.216, allocations: 153.7 kB / 1.204 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/1.217, allocations: 276.8 kB / 1.204 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/1.217, allocations: 403.9 kB / 1.205 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.217, allocations: 3.594 kB / 1.205 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000724/1.218, allocations: 0.5409 MB / 1.205 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.218, allocations: 9.781 kB / 1.205 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.218, allocations: 2.469 kB / 1.205 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.218, allocations: 2.406 kB / 1.205 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/1.218, allocations: 54.91 kB / 1.205 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.218, allocations: 4.312 kB / 1.205 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/1.219, allocations: 119 kB / 1.205 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/1.219, allocations: 23.03 kB / 1.205 GB, free: 12.01 MB / 0.8887 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.0004294/1.219, allocations: 375.7 kB / 1.206 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/1.219, allocations: 139.8 kB / 1.206 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005547/1.22, allocations: 376.9 kB / 1.206 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.22, allocations: 8.75 kB / 1.206 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.22, allocations: 0 / 1.206 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.22, allocations: 14.72 kB / 1.206 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003519/1.224, allocations: 2.602 MB / 1.209 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.224, allocations: 11.28 kB / 1.209 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/1.224, allocations: 51.73 kB / 1.209 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/1.224, allocations: 11.62 kB / 1.209 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/1.224, allocations: 12.12 kB / 1.209 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/1.224, allocations: 12.23 kB / 1.209 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/1.224, allocations: 11.28 kB / 1.209 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/1.225, allocations: 0.6231 MB / 1.21 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/1.225, allocations: 295.9 kB / 1.21 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/1.225, allocations: 18.97 kB / 1.21 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/1.225, allocations: 12.84 kB / 1.21 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/1.226, allocations: 35.78 kB / 1.21 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/1.226, allocations: 17.44 kB / 1.21 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001454/1.227, allocations: 1.223 MB / 1.211 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.8e-07/1.227, allocations: 6.406 kB / 1.211 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001222/1.228, allocations: 328.6 kB / 1.211 GB, free: 7.93 MB / 0.8887 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.001717/1.23, allocations: 0.6165 MB / 1.212 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005813/1.231, allocations: 368.3 kB / 1.212 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.231, allocations: 2.281 kB / 1.212 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/1.231, allocations: 160.3 kB / 1.212 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003676/1.234, allocations: 0.9248 MB / 1.213 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/1.238, allocations: 2.2 MB / 1.216 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007861/1.238, allocations: 1.2 MB / 1.217 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/1.239, allocations: 90.22 kB / 1.217 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of SimCode: time 4.11e-07/1.239, allocations: 0 / 1.217 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of Templates: time 0.04086/1.279, allocations: 24.82 MB / 1.241 GB, free: 280 kB / 0.9044 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