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.005964/0.005964, allocations: 102 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.001265/0.001265, allocations: 193 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 72.11 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8519/0.8537, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2196/1.073, allocations: 214.1 MB / 1.417 GB, free: 6.91 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01705/1.09, allocations: 12.15 MB / 1.429 GB, free: 10.73 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/1.092, allocations: 43.69 kB / 1.429 GB, free: 10.68 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/1.094, allocations: 0.5119 MB / 1.429 GB, free: 10.17 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005576/1.099, allocations: 1.876 MB / 1.431 GB, free: 8.285 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005187/1.105, allocations: 1.908 MB / 1.433 GB, free: 6.383 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003886/1.109, allocations: 2.356 MB / 1.435 GB, free: 4.02 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/1.111, allocations: 1.224 MB / 1.436 GB, free: 2.773 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/1.112, allocations: 0.8366 MB / 1.437 GB, free: 1.934 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009249/1.113, allocations: 0.6651 MB / 1.438 GB, free: 1.266 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/1.113, allocations: 88 kB / 1.438 GB, free: 1.18 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006371/1.12, allocations: 2.704 MB / 1.441 GB, free: 14.47 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006393/1.121, allocations: 0.5415 MB / 1.441 GB, free: 13.93 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/1.122, allocations: 0.7309 MB / 1.442 GB, free: 13.19 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006584/1.128, allocations: 3.108 MB / 1.445 GB, free: 10.07 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/1.128, allocations: 0 / 1.445 GB, free: 10.07 MB / 1.17 GB Notification: Performance of FrontEnd: time 4.068e-06/1.128, allocations: 4 kB / 1.445 GB, free: 10.07 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.799e-05/1.128, allocations: 0 / 1.445 GB, free: 10.07 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.003308/1.132, allocations: 1.74 MB / 1.447 GB, free: 8.273 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.132, allocations: 8.031 kB / 1.447 GB, free: 8.266 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/1.133, allocations: 377.8 kB / 1.447 GB, free: 7.895 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/1.135, allocations: 0.958 MB / 1.448 GB, free: 6.891 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/1.135, allocations: 82.06 kB / 1.448 GB, free: 6.809 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/1.135, allocations: 100 kB / 1.448 GB, free: 6.711 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/1.137, allocations: 1.533 MB / 1.45 GB, free: 5.066 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/1.138, allocations: 7.938 kB / 1.45 GB, free: 5.059 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.28e-05/1.138, allocations: 44 kB / 1.45 GB, free: 5.016 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-05/1.138, allocations: 69.42 kB / 1.45 GB, free: 4.949 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/1.139, allocations: 1.021 MB / 1.451 GB, free: 3.93 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.006359/1.145, allocations: 5.859 MB / 1.456 GB, free: 13.75 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005796/1.146, allocations: 314.2 kB / 1.457 GB, free: 13.41 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/1.146, allocations: 243.4 kB / 1.457 GB, free: 13.16 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007279/1.147, allocations: 0.7116 MB / 1.458 GB, free: 12.3 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/1.147, allocations: 46.56 kB / 1.458 GB, free: 12.25 MB / 1.186 GB Notification: Performance of pre-optimization done (n=28): time 3.557e-06/1.147, allocations: 0 / 1.458 GB, free: 12.25 MB / 1.186 GB Notification: Performance of matching and sorting (n=28): time 0.001707/1.149, allocations: 0.6677 MB / 1.458 GB, free: 11.57 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.149, allocations: 136.5 kB / 1.458 GB, free: 11.41 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/1.151, allocations: 1.686 MB / 1.46 GB, free: 9.707 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/1.151, allocations: 33.83 kB / 1.46 GB, free: 9.668 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006186/1.152, allocations: 0.5544 MB / 1.461 GB, free: 9.109 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.828e-05/1.152, allocations: 98.55 kB / 1.461 GB, free: 9.012 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/1.152, allocations: 69.69 kB / 1.461 GB, free: 8.938 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.152, allocations: 318 kB / 1.461 GB, free: 8.621 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/1.153, allocations: 159.9 kB / 1.461 GB, free: 8.465 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/1.153, allocations: 269.6 kB / 1.461 GB, free: 8.172 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/1.154, allocations: 416.8 kB / 1.462 GB, free: 7.734 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.154, allocations: 0 / 1.462 GB, free: 7.734 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007879/1.154, allocations: 0.5386 MB / 1.462 GB, free: 7.188 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.154, allocations: 6.031 kB / 1.462 GB, free: 7.184 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.154, allocations: 4 kB / 1.462 GB, free: 7.18 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/1.154, allocations: 4.188 kB / 1.462 GB, free: 7.176 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/1.155, allocations: 51.92 kB / 1.462 GB, free: 7.125 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/1.155, allocations: 11.88 kB / 1.462 GB, free: 7.113 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/1.155, allocations: 110.5 kB / 1.463 GB, free: 7.004 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/1.155, allocations: 24 kB / 1.463 GB, free: 6.98 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.0004347/1.156, allocations: 381.6 kB / 1.463 GB, free: 6.598 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/1.156, allocations: 138.2 kB / 1.463 GB, free: 6.461 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005591/1.157, allocations: 389.4 kB / 1.463 GB, free: 6.059 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/1.157, allocations: 0 / 1.463 GB, free: 6.059 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.157, allocations: 11.92 kB / 1.464 GB, free: 6.047 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.157, allocations: 3.938 kB / 1.464 GB, free: 6.043 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/1.16, allocations: 2.518 MB / 1.466 GB, free: 3.344 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.16, allocations: 4 kB / 1.466 GB, free: 3.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/1.16, allocations: 51.91 kB / 1.466 GB, free: 3.289 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/1.16, allocations: 8 kB / 1.466 GB, free: 3.281 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/1.16, allocations: 12 kB / 1.466 GB, free: 3.27 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/1.16, allocations: 11.94 kB / 1.466 GB, free: 3.258 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/1.16, allocations: 8 kB / 1.466 GB, free: 3.25 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008344/1.161, allocations: 0.6262 MB / 1.467 GB, free: 2.523 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005753/1.162, allocations: 291.2 kB / 1.467 GB, free: 2.219 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/1.162, allocations: 15.98 kB / 1.467 GB, free: 2.203 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/1.162, allocations: 16 kB / 1.467 GB, free: 2.188 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/1.162, allocations: 35.84 kB / 1.467 GB, free: 2.152 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/1.162, allocations: 16 kB / 1.467 GB, free: 2.137 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00163/1.164, allocations: 1.223 MB / 1.468 GB, free: 0.918 MB / 1.186 GB Notification: Performance of sort global known variables: time 5.81e-07/1.164, allocations: 4 kB / 1.468 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001145/1.165, allocations: 327.8 kB / 1.469 GB, free: 0.5938 MB / 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.001547/1.167, allocations: 0.6091 MB / 1.469 GB, free: 15.98 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005749/1.167, allocations: 348.4 kB / 1.469 GB, free: 15.64 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.167, allocations: 0 / 1.469 GB, free: 15.64 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/1.168, allocations: 160.1 kB / 1.47 GB, free: 15.48 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003754/1.171, allocations: 0.9306 MB / 1.471 GB, free: 14.58 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/1.174, allocations: 2.101 MB / 1.473 GB, free: 12.37 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008231/1.175, allocations: 1.204 MB / 1.474 GB, free: 11.14 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0007835/1.176, allocations: 294.7 kB / 1.474 GB, free: 10.84 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/1.176, allocations: 83.42 kB / 1.474 GB, free: 10.76 MB / 1.201 GB Notification: Performance of SimCode: time 6.02e-07/1.176, allocations: 0 / 1.474 GB, free: 10.76 MB / 1.201 GB Notification: Performance of Templates: time 0.05511/1.231, allocations: 31.39 MB / 1.505 GB, free: 11.68 MB / 1.232 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/jenkins/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