Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001459/0.001459, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001389/0.00139, allocations: 187 kB / 17.34 MB, free: 5.742 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 / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.713/2.713, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.89 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9083/0.9096, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2351/1.145, allocations: 214.1 MB / 1.417 GB, free: 6.801 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0169/1.162, allocations: 12.16 MB / 1.429 GB, free: 10.61 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/1.164, allocations: 43.69 kB / 1.429 GB, free: 10.57 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/1.165, allocations: 0.5041 MB / 1.43 GB, free: 10.06 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005222/1.171, allocations: 1.884 MB / 1.432 GB, free: 8.168 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004955/1.176, allocations: 1.903 MB / 1.434 GB, free: 6.27 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003168/1.179, allocations: 2.34 MB / 1.436 GB, free: 3.922 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/1.181, allocations: 1.236 MB / 1.437 GB, free: 2.664 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/1.182, allocations: 0.8288 MB / 1.438 GB, free: 1.832 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/1.184, allocations: 0.6651 MB / 1.439 GB, free: 1.164 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002847/1.184, allocations: 92 kB / 1.439 GB, free: 1.074 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005832/1.19, allocations: 2.707 MB / 1.441 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000697/1.19, allocations: 0.5454 MB / 1.442 GB, free: 13.81 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/1.192, allocations: 0.7309 MB / 1.442 GB, free: 13.08 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006052/1.198, allocations: 3.109 MB / 1.446 GB, free: 9.961 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.198, allocations: 8 kB / 1.446 GB, free: 9.953 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.275e-06/1.198, allocations: 0 / 1.446 GB, free: 9.953 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.874e-05/1.198, allocations: 0 / 1.446 GB, free: 9.953 MB / 1.17 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.003449/1.202, allocations: 1.744 MB / 1.447 GB, free: 8.152 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.202, allocations: 8.031 kB / 1.447 GB, free: 8.145 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/1.204, allocations: 373.8 kB / 1.448 GB, free: 7.777 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/1.205, allocations: 0.9541 MB / 1.449 GB, free: 6.777 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/1.205, allocations: 78.06 kB / 1.449 GB, free: 6.699 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/1.206, allocations: 100 kB / 1.449 GB, free: 6.602 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/1.208, allocations: 1.536 MB / 1.45 GB, free: 4.953 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/1.208, allocations: 3.938 kB / 1.45 GB, free: 4.949 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.208, allocations: 48 kB / 1.45 GB, free: 4.902 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.632e-05/1.208, allocations: 65.47 kB / 1.45 GB, free: 4.84 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/1.21, allocations: 1.025 MB / 1.451 GB, free: 3.816 MB / 1.17 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.006573/1.216, allocations: 5.844 MB / 1.457 GB, free: 13.66 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/1.217, allocations: 326.1 kB / 1.457 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/1.217, allocations: 247.4 kB / 1.458 GB, free: 13.05 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006968/1.218, allocations: 0.7042 MB / 1.458 GB, free: 12.2 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/1.218, allocations: 46.48 kB / 1.458 GB, free: 12.14 MB / 1.186 GB Notification: Performance of pre-optimization done (n=28): time 2.795e-06/1.218, allocations: 0 / 1.458 GB, free: 12.14 MB / 1.186 GB Notification: Performance of matching and sorting (n=28): time 0.001362/1.219, allocations: 0.6674 MB / 1.459 GB, free: 11.46 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/1.219, allocations: 136.5 kB / 1.459 GB, free: 11.3 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/1.222, allocations: 1.686 MB / 1.461 GB, free: 9.602 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/1.222, allocations: 33.7 kB / 1.461 GB, free: 9.562 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/1.222, allocations: 0.5583 MB / 1.461 GB, free: 9 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.064e-05/1.222, allocations: 94.69 kB / 1.461 GB, free: 8.906 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/1.222, allocations: 69.69 kB / 1.461 GB, free: 8.832 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.222, allocations: 318 kB / 1.462 GB, free: 8.516 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/1.223, allocations: 155.9 kB / 1.462 GB, free: 8.363 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/1.223, allocations: 265.7 kB / 1.462 GB, free: 8.074 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/1.223, allocations: 420.8 kB / 1.463 GB, free: 7.633 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.224, allocations: 4 kB / 1.463 GB, free: 7.629 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008326/1.224, allocations: 0.5386 MB / 1.463 GB, free: 7.082 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.224, allocations: 10.03 kB / 1.463 GB, free: 7.074 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.224, allocations: 0 / 1.463 GB, free: 7.074 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/1.224, allocations: 7.938 kB / 1.463 GB, free: 7.066 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/1.225, allocations: 51.92 kB / 1.463 GB, free: 7.016 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/1.225, allocations: 11.92 kB / 1.463 GB, free: 7.004 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005811/1.225, allocations: 114.8 kB / 1.463 GB, free: 6.891 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/1.225, allocations: 20 kB / 1.463 GB, free: 6.871 MB / 1.186 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.0005451/1.226, allocations: 381.6 kB / 1.464 GB, free: 6.488 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/1.226, allocations: 138.2 kB / 1.464 GB, free: 6.352 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000709/1.227, allocations: 393.3 kB / 1.464 GB, free: 5.945 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.227, allocations: 4 kB / 1.464 GB, free: 5.941 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/1.227, allocations: 7.938 kB / 1.464 GB, free: 5.934 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.227, allocations: 0 / 1.464 GB, free: 5.934 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00387/1.231, allocations: 2.513 MB / 1.467 GB, free: 3.238 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.231, allocations: 8.812 kB / 1.467 GB, free: 3.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/1.231, allocations: 51.91 kB / 1.467 GB, free: 3.18 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/1.231, allocations: 12 kB / 1.467 GB, free: 3.168 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/1.231, allocations: 16 kB / 1.467 GB, free: 3.152 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/1.231, allocations: 11.94 kB / 1.467 GB, free: 3.141 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/1.231, allocations: 11.88 kB / 1.467 GB, free: 3.129 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008477/1.232, allocations: 0.6232 MB / 1.467 GB, free: 2.406 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005808/1.233, allocations: 295.2 kB / 1.468 GB, free: 2.098 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/1.233, allocations: 12 kB / 1.468 GB, free: 2.086 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/1.233, allocations: 12 kB / 1.468 GB, free: 2.074 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/1.233, allocations: 39.78 kB / 1.468 GB, free: 2.035 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/1.233, allocations: 16 kB / 1.468 GB, free: 2.02 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001806/1.235, allocations: 1.223 MB / 1.469 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.235, allocations: 0 / 1.469 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001194/1.236, allocations: 323.8 kB / 1.469 GB, free: 496 kB / 1.186 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.001932/1.238, allocations: 0.6147 MB / 1.47 GB, free: 15.87 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006192/1.239, allocations: 351.5 kB / 1.47 GB, free: 15.52 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.239, allocations: 0 / 1.47 GB, free: 15.52 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/1.239, allocations: 165.2 kB / 1.47 GB, free: 15.36 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00413/1.243, allocations: 0.9121 MB / 1.471 GB, free: 14.48 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/1.247, allocations: 2.181 MB / 1.473 GB, free: 12.19 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/1.248, allocations: 1.201 MB / 1.475 GB, free: 10.96 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/1.248, allocations: 91.42 kB / 1.475 GB, free: 10.87 MB / 1.201 GB Notification: Performance of SimCode: time 9.42e-07/1.248, allocations: 0 / 1.475 GB, free: 10.87 MB / 1.201 GB Notification: Performance of Templates: time 0.03612/1.284, allocations: 24.9 MB / 1.499 GB, free: 2.129 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches