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.007595/0.007595, 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.001905/0.001906, allocations: 197.3 kB / 16.67 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.525/2.525, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2653, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.7797/1.045, allocations: 214.1 MB / 1.375 GB, free: 1.641 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01406/1.059, allocations: 12.16 MB / 1.387 GB, free: 7.957 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/1.06, allocations: 44.47 kB / 1.387 GB, free: 7.938 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/1.062, allocations: 0.5126 MB / 1.388 GB, free: 7.473 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00436/1.066, allocations: 1.96 MB / 1.39 GB, free: 5.984 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004167/1.07, allocations: 1.934 MB / 1.391 GB, free: 4.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002293/1.072, allocations: 2.348 MB / 1.394 GB, free: 3.188 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/1.074, allocations: 1.247 MB / 1.395 GB, free: 2.492 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/1.075, allocations: 0.8408 MB / 1.396 GB, free: 2.004 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006298/1.076, allocations: 0.6587 MB / 1.396 GB, free: 1.605 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/1.076, allocations: 90.53 kB / 1.396 GB, free: 1.605 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004687/1.08, allocations: 2.714 MB / 1.399 GB, free: 64 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004278/1.081, allocations: 0.5437 MB / 1.4 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006317/1.081, allocations: 0.7379 MB / 1.4 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003803/1.085, allocations: 3.112 MB / 1.403 GB, free: 13.34 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.085, allocations: 0 / 1.403 GB, free: 13.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.052e-06/1.085, allocations: 0 / 1.403 GB, free: 13.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.62e-05/1.085, allocations: 0 / 1.403 GB, free: 13.34 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.00203/1.087, allocations: 1.789 MB / 1.405 GB, free: 11.96 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/1.087, allocations: 13.44 kB / 1.405 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/1.088, allocations: 171.6 kB / 1.405 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/1.089, allocations: 390.3 kB / 1.406 GB, free: 11.63 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/1.091, allocations: 0.9634 MB / 1.407 GB, free: 10.9 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/1.091, allocations: 84.66 kB / 1.407 GB, free: 10.86 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/1.091, allocations: 103 kB / 1.407 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/1.093, allocations: 1.529 MB / 1.408 GB, free: 9.828 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/1.093, allocations: 6.062 kB / 1.408 GB, free: 9.824 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/1.093, allocations: 44.66 kB / 1.408 GB, free: 9.793 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.117e-05/1.093, allocations: 61.27 kB / 1.408 GB, free: 9.781 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/1.095, allocations: 1.023 MB / 1.409 GB, free: 9.285 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.005438/1.1, allocations: 5.866 MB / 1.415 GB, free: 4.184 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/1.101, allocations: 316.2 kB / 1.415 GB, free: 3.973 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/1.101, allocations: 249.3 kB / 1.416 GB, free: 3.832 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006577/1.101, allocations: 0.7064 MB / 1.416 GB, free: 3.047 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/1.102, allocations: 40.72 kB / 1.416 GB, free: 3 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 2.565e-06/1.102, allocations: 0 / 1.416 GB, free: 3 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001215/1.103, allocations: 0.68 MB / 1.417 GB, free: 2.648 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/1.103, allocations: 135.3 kB / 1.417 GB, free: 2.488 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/1.105, allocations: 1.683 MB / 1.419 GB, free: 1.219 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/1.105, allocations: 33.7 kB / 1.419 GB, free: 1.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/1.105, allocations: 0.5584 MB / 1.419 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/1.105, allocations: 99.28 kB / 1.42 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/1.105, allocations: 73.69 kB / 1.42 GB, free: 452 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/1.106, allocations: 317.9 kB / 1.42 GB, free: 128 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/1.106, allocations: 159.9 kB / 1.42 GB, free: 15.97 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/1.106, allocations: 262 kB / 1.42 GB, free: 15.68 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/1.107, allocations: 417.8 kB / 1.421 GB, free: 15.25 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.107, allocations: 0 / 1.421 GB, free: 15.25 MB / 1.092 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006953/1.107, allocations: 0.5478 MB / 1.421 GB, free: 14.69 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.107, allocations: 11.98 kB / 1.421 GB, free: 14.68 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.107, allocations: 0 / 1.421 GB, free: 14.68 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.107, allocations: 4 kB / 1.421 GB, free: 14.68 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/1.108, allocations: 55.98 kB / 1.421 GB, free: 14.62 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.108, allocations: 8.094 kB / 1.421 GB, free: 14.61 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/1.108, allocations: 123.1 kB / 1.421 GB, free: 14.49 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.055e-05/1.108, allocations: 20 kB / 1.421 GB, free: 14.47 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.0004157/1.109, allocations: 380.7 kB / 1.422 GB, free: 14.09 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/1.109, allocations: 143.1 kB / 1.422 GB, free: 13.95 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/1.109, allocations: 385.2 kB / 1.422 GB, free: 13.55 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/1.109, allocations: 4 kB / 1.422 GB, free: 13.55 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.109, allocations: 7.938 kB / 1.422 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.109, allocations: 11.86 kB / 1.422 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/1.113, allocations: 2.517 MB / 1.425 GB, free: 10.83 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.113, allocations: 4.812 kB / 1.425 GB, free: 10.82 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/1.113, allocations: 55.84 kB / 1.425 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.113, allocations: 12 kB / 1.425 GB, free: 10.76 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/1.113, allocations: 12 kB / 1.425 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.902e-06/1.113, allocations: 8 kB / 1.425 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.113, allocations: 11.94 kB / 1.425 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006813/1.114, allocations: 0.6308 MB / 1.426 GB, free: 9.996 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/1.114, allocations: 296 kB / 1.426 GB, free: 9.688 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/1.114, allocations: 19.98 kB / 1.426 GB, free: 9.668 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/1.115, allocations: 8 kB / 1.426 GB, free: 9.66 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/1.115, allocations: 35.86 kB / 1.426 GB, free: 9.625 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/1.115, allocations: 23.98 kB / 1.426 GB, free: 9.602 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001592/1.117, allocations: 1.219 MB / 1.427 GB, free: 8.387 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/1.117, allocations: 0 / 1.427 GB, free: 8.387 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000997/1.118, allocations: 331.4 kB / 1.427 GB, free: 8.062 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.002314/1.12, allocations: 1.672 MB / 1.429 GB, free: 6.293 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.000542/1.12, allocations: 357.4 kB / 1.429 GB, free: 5.945 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.12, allocations: 3.938 kB / 1.429 GB, free: 5.941 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/1.121, allocations: 160.9 kB / 1.43 GB, free: 5.785 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/1.124, allocations: 0.9211 MB / 1.43 GB, free: 4.895 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.137, allocations: 10.53 MB / 1.441 GB, free: 10.01 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/1.137, allocations: 1.208 MB / 1.442 GB, free: 8.773 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008346/1.138, allocations: 298.6 kB / 1.442 GB, free: 8.477 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005245/1.139, allocations: 459.3 kB / 1.443 GB, free: 8.027 MB / 1.107 GB Notification: Performance of SimCode: time 8.82e-07/1.139, allocations: 0 / 1.443 GB, free: 8.027 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06719/1.206, allocations: 44.04 MB / 1.486 GB, free: 12.43 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.847/11.05, allocations: 22.33 kB / 1.486 GB, free: 12.41 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