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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00501/0.00501, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001114/0.001114, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.726/2.726, allocations: 469.4 MB / 0.7421 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 67.89 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2781, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.7626/1.041, allocations: 214.1 MB / 1.429 GB, free: 13.34 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01363/1.054, allocations: 12.16 MB / 1.441 GB, free: 3.434 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/1.056, allocations: 42.41 kB / 1.441 GB, free: 3.414 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/1.057, allocations: 0.5159 MB / 1.441 GB, free: 2.945 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004134/1.061, allocations: 1.948 MB / 1.443 GB, free: 1.332 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004106/1.065, allocations: 1.937 MB / 1.445 GB, free: 15.41 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002268/1.067, allocations: 2.356 MB / 1.447 GB, free: 13.04 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/1.069, allocations: 1.233 MB / 1.449 GB, free: 11.8 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/1.07, allocations: 0.8444 MB / 1.449 GB, free: 10.95 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006676/1.07, allocations: 0.6573 MB / 1.45 GB, free: 10.29 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/1.071, allocations: 91.94 kB / 1.45 GB, free: 10.2 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004675/1.075, allocations: 2.717 MB / 1.453 GB, free: 7.477 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004469/1.076, allocations: 0.5377 MB / 1.453 GB, free: 6.938 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006535/1.076, allocations: 0.7308 MB / 1.454 GB, free: 6.203 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003637/1.08, allocations: 3.123 MB / 1.457 GB, free: 3.07 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.08, allocations: 4 kB / 1.457 GB, free: 3.066 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.703e-06/1.08, allocations: 0 / 1.457 GB, free: 3.066 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.631e-05/1.08, allocations: 0 / 1.457 GB, free: 3.066 MB / 1.139 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.002106/1.082, allocations: 1.793 MB / 1.459 GB, free: 1.215 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.082, allocations: 8.031 kB / 1.459 GB, free: 1.207 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/1.082, allocations: 172.8 kB / 1.459 GB, free: 1.027 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/1.084, allocations: 386.6 kB / 1.459 GB, free: 0.6484 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/1.086, allocations: 0.9707 MB / 1.46 GB, free: 15.63 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/1.086, allocations: 86.05 kB / 1.46 GB, free: 15.55 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/1.086, allocations: 100 kB / 1.46 GB, free: 15.45 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/1.088, allocations: 1.529 MB / 1.462 GB, free: 13.81 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/1.088, allocations: 0 / 1.462 GB, free: 13.81 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/1.088, allocations: 47.98 kB / 1.462 GB, free: 13.76 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-05/1.088, allocations: 65.3 kB / 1.462 GB, free: 13.7 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/1.089, allocations: 1.029 MB / 1.463 GB, free: 12.67 MB / 1.154 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.005466/1.095, allocations: 5.854 MB / 1.469 GB, free: 6.508 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/1.095, allocations: 320.6 kB / 1.469 GB, free: 6.16 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/1.096, allocations: 259.2 kB / 1.469 GB, free: 5.895 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000683/1.096, allocations: 0.7081 MB / 1.47 GB, free: 5.039 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/1.096, allocations: 38.56 kB / 1.47 GB, free: 4.992 MB / 1.154 GB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/1.096, allocations: 0 / 1.47 GB, free: 4.992 MB / 1.154 GB Notification: Performance of matching and sorting (n=28): time 0.001283/1.098, allocations: 0.6767 MB / 1.471 GB, free: 4.309 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/1.098, allocations: 136.5 kB / 1.471 GB, free: 4.145 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/1.1, allocations: 1.678 MB / 1.472 GB, free: 2.457 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/1.1, allocations: 33.7 kB / 1.472 GB, free: 2.418 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/1.1, allocations: 0.5663 MB / 1.473 GB, free: 1.848 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/1.1, allocations: 99.17 kB / 1.473 GB, free: 1.75 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.1, allocations: 66.09 kB / 1.473 GB, free: 1.68 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/1.101, allocations: 318 kB / 1.474 GB, free: 1.363 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/1.101, allocations: 159.9 kB / 1.474 GB, free: 1.207 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/1.101, allocations: 280.9 kB / 1.474 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/1.101, allocations: 405.8 kB / 1.474 GB, free: 488 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.102, allocations: 4 kB / 1.474 GB, free: 484 kB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007037/1.102, allocations: 0.5401 MB / 1.475 GB, free: 15.93 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.102, allocations: 9.562 kB / 1.475 GB, free: 15.92 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.102, allocations: 0 / 1.475 GB, free: 15.92 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/1.102, allocations: 4 kB / 1.475 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/1.103, allocations: 59.91 kB / 1.475 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/1.103, allocations: 12.06 kB / 1.475 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/1.103, allocations: 114.9 kB / 1.475 GB, free: 15.73 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/1.103, allocations: 19.98 kB / 1.475 GB, free: 15.71 MB / 1.17 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.0003932/1.103, allocations: 373.6 kB / 1.475 GB, free: 15.34 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/1.104, allocations: 143.1 kB / 1.476 GB, free: 15.2 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000531/1.104, allocations: 394.4 kB / 1.476 GB, free: 14.79 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.104, allocations: 12.08 kB / 1.476 GB, free: 14.78 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.104, allocations: 3.938 kB / 1.476 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.104, allocations: 0 / 1.476 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/1.107, allocations: 2.526 MB / 1.478 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.107, allocations: 8 kB / 1.478 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/1.108, allocations: 51.98 kB / 1.478 GB, free: 12.01 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/1.108, allocations: 8 kB / 1.478 GB, free: 12 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/1.108, allocations: 12.06 kB / 1.478 GB, free: 11.99 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/1.108, allocations: 15.92 kB / 1.478 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.108, allocations: 8 kB / 1.478 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/1.108, allocations: 0.6347 MB / 1.479 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/1.109, allocations: 308 kB / 1.479 GB, free: 10.91 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/1.109, allocations: 12 kB / 1.479 GB, free: 10.9 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/1.109, allocations: 12 kB / 1.479 GB, free: 10.89 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/1.109, allocations: 35.84 kB / 1.479 GB, free: 10.85 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/1.11, allocations: 16 kB / 1.479 GB, free: 10.84 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001409/1.111, allocations: 1.231 MB / 1.481 GB, free: 9.609 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/1.111, allocations: 0 / 1.481 GB, free: 9.609 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008707/1.112, allocations: 327.4 kB / 1.481 GB, free: 9.289 MB / 1.17 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.00211/1.114, allocations: 1.666 MB / 1.483 GB, free: 7.523 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.000504/1.114, allocations: 347.5 kB / 1.483 GB, free: 7.184 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.114, allocations: 0 / 1.483 GB, free: 7.184 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/1.115, allocations: 160.6 kB / 1.483 GB, free: 7.027 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/1.118, allocations: 0.9389 MB / 1.484 GB, free: 6.117 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.13, allocations: 10.53 MB / 1.494 GB, free: 11.25 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/1.131, allocations: 1.208 MB / 1.495 GB, free: 10.01 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000779/1.132, allocations: 298.7 kB / 1.496 GB, free: 9.715 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/1.132, allocations: 463.3 kB / 1.496 GB, free: 9.262 MB / 1.186 GB Notification: Performance of SimCode: time 6.21e-07/1.132, allocations: 0 / 1.496 GB, free: 9.262 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07272/1.205, allocations: 44.04 MB / 1.539 GB, free: 13.63 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.858/11.06, allocations: 9.641 kB / 1.539 GB, free: 13.62 MB / 1.232 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.csv","/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