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.001025/0.001025, allocations: 98.88 kB / 16.02 MB, free: 76 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.001285/0.001285, allocations: 181.6 kB / 16.92 MB, free: 6.914 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.359 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.588/2.588, allocations: 437.8 MB / 0.7128 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003739, allocations: 12.22 kB / 0.8735 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7468/0.7472, allocations: 153.8 MB / 1.024 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2495/0.9967, allocations: 209.6 MB / 1.228 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01823/1.015, allocations: 12.14 MB / 1.24 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/1.017, allocations: 47.56 kB / 1.24 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/1.019, allocations: 409.3 kB / 1.241 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.638/1.657, allocations: 1.754 MB / 1.242 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005059/1.662, allocations: 1.727 MB / 1.244 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004893/1.667, allocations: 3.041 MB / 1.247 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/1.669, allocations: 1.021 MB / 1.248 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/1.67, allocations: 0.6723 MB / 1.249 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/1.672, allocations: 0.6635 MB / 1.249 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/1.672, allocations: 41.45 kB / 1.249 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008171/1.68, allocations: 3.512 MB / 1.253 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009361/1.681, allocations: 493.4 kB / 1.253 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001567/1.683, allocations: 0.6706 MB / 1.254 GB, free: 18.92 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004867/1.687, allocations: 2.428 MB / 1.256 GB, free: 18.85 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.687, allocations: 0.5 kB / 1.256 GB, free: 18.85 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.486e-06/1.687, allocations: 0.5 kB / 1.256 GB, free: 18.85 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.035e-05/1.687, allocations: 2.906 kB / 1.256 GB, free: 18.85 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.003066/1.691, allocations: 1.446 MB / 1.258 GB, free: 17.96 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/1.691, allocations: 9.281 kB / 1.258 GB, free: 17.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/1.693, allocations: 372 kB / 1.258 GB, free: 17.88 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/1.694, allocations: 0.901 MB / 1.259 GB, free: 17.53 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.734e-05/1.694, allocations: 77.62 kB / 1.259 GB, free: 17.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/1.694, allocations: 100.5 kB / 1.259 GB, free: 17.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/1.697, allocations: 1.531 MB / 1.261 GB, free: 17.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/1.697, allocations: 5.344 kB / 1.261 GB, free: 17.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/1.697, allocations: 52.2 kB / 1.261 GB, free: 17.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.04e-05/1.697, allocations: 63.84 kB / 1.261 GB, free: 17.22 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/1.698, allocations: 1.024 MB / 1.262 GB, free: 17.22 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.006665/1.705, allocations: 5.913 MB / 1.268 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005657/1.706, allocations: 316.5 kB / 1.268 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/1.706, allocations: 249.1 kB / 1.268 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008168/1.707, allocations: 0.7153 MB / 1.269 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/1.707, allocations: 47.83 kB / 1.269 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.545e-06/1.707, allocations: 0 / 1.269 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001425/1.708, allocations: 0.6647 MB / 1.269 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/1.708, allocations: 138.3 kB / 1.27 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/1.711, allocations: 1.685 MB / 1.271 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.278e-05/1.711, allocations: 39.39 kB / 1.271 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004872/1.711, allocations: 0.5587 MB / 1.272 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/1.711, allocations: 94.3 kB / 1.272 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/1.711, allocations: 27.19 kB / 1.272 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.711, allocations: 317.2 kB / 1.272 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/1.712, allocations: 155.5 kB / 1.272 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/1.712, allocations: 267.6 kB / 1.273 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/1.712, allocations: 416.6 kB / 1.273 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.712, allocations: 3.031 kB / 1.273 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006565/1.713, allocations: 0.5431 MB / 1.274 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.713, allocations: 6.375 kB / 1.274 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.713, allocations: 0 / 1.274 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.713, allocations: 5.906 kB / 1.274 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/1.713, allocations: 54.45 kB / 1.274 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.713, allocations: 6.312 kB / 1.274 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/1.714, allocations: 115.4 kB / 1.274 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/1.714, allocations: 23.19 kB / 1.274 GB, free: 11.52 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.0004156/1.714, allocations: 382.6 kB / 1.274 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/1.715, allocations: 143.1 kB / 1.274 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/1.715, allocations: 378 kB / 1.275 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/1.715, allocations: 3.406 kB / 1.275 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.715, allocations: 0 / 1.275 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.715, allocations: 2.906 kB / 1.275 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/1.718, allocations: 2.567 MB / 1.277 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.718, allocations: 6.562 kB / 1.277 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/1.719, allocations: 53.78 kB / 1.277 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/1.719, allocations: 12 kB / 1.277 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/1.719, allocations: 10.94 kB / 1.277 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/1.719, allocations: 16.2 kB / 1.277 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.719, allocations: 8.531 kB / 1.277 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000677/1.719, allocations: 0.6209 MB / 1.278 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/1.72, allocations: 310.2 kB / 1.278 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/1.72, allocations: 19.22 kB / 1.278 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/1.72, allocations: 15.94 kB / 1.278 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/1.72, allocations: 37.72 kB / 1.278 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/1.72, allocations: 18.31 kB / 1.278 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001359/1.722, allocations: 1.227 MB / 1.279 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.722, allocations: 0 / 1.279 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001314/1.723, allocations: 335.3 kB / 1.28 GB, free: 9.574 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.001703/1.725, allocations: 0.628 MB / 1.28 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004883/1.725, allocations: 338.7 kB / 1.281 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/1.725, allocations: 0 / 1.281 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/1.726, allocations: 161.1 kB / 1.281 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004981/1.731, allocations: 0.8842 MB / 1.282 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/1.734, allocations: 2.506 MB / 1.284 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/1.735, allocations: 1.207 MB / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/1.735, allocations: 86.52 kB / 1.285 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of SimCode: time 8.21e-07/1.735, allocations: 0 / 1.285 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of Templates: time 0.03817/1.773, allocations: 24.61 MB / 1.309 GB, free: 1.508 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