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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_10_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.007764/0.007765, allocations: 101.9 kB / 15.73 MB, free: 6.496 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.002253/0.002253, allocations: 199 kB / 16.68 MB, free: 6.375 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 59.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.299, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.8258/1.125, allocations: 214.1 MB / 1.375 GB, free: 1.672 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01668/1.142, allocations: 12.15 MB / 1.387 GB, free: 7.988 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/1.143, allocations: 43.91 kB / 1.387 GB, free: 7.969 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/1.145, allocations: 0.5107 MB / 1.388 GB, free: 7.504 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004762/1.149, allocations: 1.879 MB / 1.389 GB, free: 6.062 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00447/1.154, allocations: 1.901 MB / 1.391 GB, free: 4.668 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002812/1.157, allocations: 2.344 MB / 1.394 GB, free: 3.285 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/1.158, allocations: 1.243 MB / 1.395 GB, free: 2.594 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/1.159, allocations: 0.8308 MB / 1.396 GB, free: 2.109 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000752/1.16, allocations: 0.6506 MB / 1.396 GB, free: 1.719 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/1.16, allocations: 94.34 kB / 1.396 GB, free: 1.715 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005227/1.165, allocations: 2.696 MB / 1.399 GB, free: 192 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005171/1.166, allocations: 0.548 MB / 1.4 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007627/1.167, allocations: 0.7377 MB / 1.4 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004579/1.171, allocations: 3.119 MB / 1.403 GB, free: 13.46 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.171, allocations: 0 / 1.403 GB, free: 13.46 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.392e-06/1.171, allocations: 0 / 1.403 GB, free: 13.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.097e-05/1.171, allocations: 0 / 1.403 GB, free: 13.46 MB / 1.076 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.002448/1.174, allocations: 1.789 MB / 1.405 GB, free: 12.08 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/1.174, allocations: 10.06 kB / 1.405 GB, free: 12.08 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002066/1.174, allocations: 169.8 kB / 1.405 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/1.176, allocations: 388.3 kB / 1.406 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/1.177, allocations: 0.9788 MB / 1.407 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-05/1.177, allocations: 76.62 kB / 1.407 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/1.178, allocations: 103.7 kB / 1.407 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/1.18, allocations: 1.529 MB / 1.408 GB, free: 9.941 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/1.18, allocations: 6.188 kB / 1.408 GB, free: 9.938 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.18, allocations: 52.59 kB / 1.408 GB, free: 9.898 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.381e-05/1.18, allocations: 65.44 kB / 1.408 GB, free: 9.883 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/1.181, allocations: 1.018 MB / 1.409 GB, free: 9.391 MB / 1.076 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.006035/1.187, allocations: 5.851 MB / 1.415 GB, free: 4.305 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/1.188, allocations: 328.1 kB / 1.415 GB, free: 4.082 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/1.188, allocations: 253.5 kB / 1.416 GB, free: 3.938 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007499/1.189, allocations: 0.7064 MB / 1.416 GB, free: 3.152 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/1.189, allocations: 37.47 kB / 1.416 GB, free: 3.109 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/1.189, allocations: 3.938 kB / 1.416 GB, free: 3.105 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001251/1.19, allocations: 0.6754 MB / 1.417 GB, free: 2.758 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/1.19, allocations: 137.5 kB / 1.417 GB, free: 2.598 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/1.192, allocations: 1.689 MB / 1.419 GB, free: 1.438 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/1.192, allocations: 33.7 kB / 1.419 GB, free: 1.398 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/1.193, allocations: 0.5545 MB / 1.419 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/1.193, allocations: 99.16 kB / 1.419 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/1.193, allocations: 69.69 kB / 1.419 GB, free: 0.668 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.193, allocations: 322 kB / 1.42 GB, free: 356 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/1.194, allocations: 151.9 kB / 1.42 GB, free: 204 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/1.194, allocations: 269.9 kB / 1.42 GB, free: 15.91 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/1.194, allocations: 401.8 kB / 1.421 GB, free: 15.48 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.194, allocations: 0 / 1.421 GB, free: 15.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008089/1.195, allocations: 0.5634 MB / 1.421 GB, free: 14.91 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.195, allocations: 7.938 kB / 1.421 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.195, allocations: 4 kB / 1.421 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.195, allocations: 4 kB / 1.421 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/1.196, allocations: 51.92 kB / 1.421 GB, free: 14.85 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.196, allocations: 7.922 kB / 1.421 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/1.196, allocations: 110.9 kB / 1.421 GB, free: 14.73 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/1.196, allocations: 24.19 kB / 1.421 GB, free: 14.71 MB / 1.092 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.0004733/1.197, allocations: 381.6 kB / 1.422 GB, free: 14.32 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/1.197, allocations: 143.1 kB / 1.422 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006201/1.198, allocations: 388.7 kB / 1.422 GB, free: 13.78 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.198, allocations: 8.031 kB / 1.422 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.198, allocations: 7.922 kB / 1.422 GB, free: 13.76 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.198, allocations: 0 / 1.422 GB, free: 13.76 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/1.201, allocations: 2.521 MB / 1.425 GB, free: 11.06 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.201, allocations: 4 kB / 1.425 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/1.201, allocations: 51.92 kB / 1.425 GB, free: 11 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/1.201, allocations: 8.781 kB / 1.425 GB, free: 11 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/1.201, allocations: 12 kB / 1.425 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/1.201, allocations: 15.94 kB / 1.425 GB, free: 10.97 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/1.201, allocations: 16 kB / 1.425 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007691/1.202, allocations: 0.627 MB / 1.425 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/1.203, allocations: 300 kB / 1.426 GB, free: 9.914 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/1.203, allocations: 16 kB / 1.426 GB, free: 9.898 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/1.203, allocations: 8 kB / 1.426 GB, free: 9.891 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/1.203, allocations: 43.78 kB / 1.426 GB, free: 9.848 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/1.203, allocations: 12 kB / 1.426 GB, free: 9.836 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001596/1.205, allocations: 1.227 MB / 1.427 GB, free: 8.613 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.205, allocations: 0 / 1.427 GB, free: 8.613 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009607/1.206, allocations: 327.4 kB / 1.427 GB, free: 8.293 MB / 1.092 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.002432/1.208, allocations: 1.676 MB / 1.429 GB, free: 6.52 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005872/1.209, allocations: 360.6 kB / 1.429 GB, free: 6.168 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.209, allocations: 0 / 1.429 GB, free: 6.168 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/1.209, allocations: 161.5 kB / 1.429 GB, free: 6.012 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/1.213, allocations: 0.9237 MB / 1.43 GB, free: 5.117 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/1.227, allocations: 10.52 MB / 1.441 GB, free: 10.25 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009557/1.228, allocations: 1.212 MB / 1.442 GB, free: 9.008 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0009312/1.229, allocations: 298.7 kB / 1.442 GB, free: 8.711 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/1.23, allocations: 463.3 kB / 1.442 GB, free: 8.258 MB / 1.107 GB Notification: Performance of SimCode: time 5.01e-07/1.23, allocations: 0 / 1.442 GB, free: 8.258 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08283/1.312, allocations: 44.04 MB / 1.485 GB, free: 12.66 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.81, allocations: 18.34 kB / 1.486 GB, free: 12.64 MB / 1.154 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.csv","/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