Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BoundaryWithXi_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_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.007322/0.007322, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001825/0.001825, allocations: 191 kB / 16.67 MB, free: 5.969 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.171/2.171, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.88 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7222/0.7236, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2294/0.953, allocations: 214.1 MB / 1.297 GB, free: 7.566 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01481/0.9678, allocations: 12.17 MB / 1.308 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.9692, allocations: 47.62 kB / 1.308 GB, free: 11.31 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.9706, allocations: 0.5002 MB / 1.309 GB, free: 10.81 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00468/0.9754, allocations: 1.882 MB / 1.311 GB, free: 8.918 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004645/0.98, allocations: 1.91 MB / 1.313 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00272/0.9828, allocations: 2.375 MB / 1.315 GB, free: 4.629 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.9844, allocations: 1.201 MB / 1.316 GB, free: 3.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.9859, allocations: 0.8288 MB / 1.317 GB, free: 2.578 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009521/0.9868, allocations: 0.6496 MB / 1.318 GB, free: 1.926 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.987, allocations: 92 kB / 1.318 GB, free: 1.836 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004763/0.9918, allocations: 2.7 MB / 1.32 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005409/0.9924, allocations: 0.5376 MB / 1.321 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009005/0.9933, allocations: 0.7231 MB / 1.322 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004253/0.9975, allocations: 3.093 MB / 1.325 GB, free: 10.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9975, allocations: 0 / 1.325 GB, free: 10.76 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9976, allocations: 3.938 kB / 1.325 GB, free: 10.76 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.611e-05/0.9976, allocations: 4 kB / 1.325 GB, free: 10.75 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002866/1.001, allocations: 1.721 MB / 1.326 GB, free: 8.977 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/1.001, allocations: 8.031 kB / 1.326 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002516/1.001, allocations: 172.6 kB / 1.326 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/1.003, allocations: 369.8 kB / 1.327 GB, free: 8.426 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/1.004, allocations: 0.958 MB / 1.328 GB, free: 7.422 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.409e-05/1.004, allocations: 78.02 kB / 1.328 GB, free: 7.344 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/1.005, allocations: 100 kB / 1.328 GB, free: 7.246 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/1.007, allocations: 1.505 MB / 1.329 GB, free: 5.633 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/1.007, allocations: 7.922 kB / 1.329 GB, free: 5.625 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.007, allocations: 47.94 kB / 1.329 GB, free: 5.578 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.39e-05/1.007, allocations: 69.53 kB / 1.329 GB, free: 5.508 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/1.008, allocations: 1.017 MB / 1.33 GB, free: 4.492 MB / 1.061 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.005922/1.014, allocations: 5.809 MB / 1.336 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/1.015, allocations: 326.1 kB / 1.336 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/1.015, allocations: 251.4 kB / 1.337 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006682/1.016, allocations: 0.7081 MB / 1.337 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/1.016, allocations: 46.5 kB / 1.337 GB, free: 12.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/1.016, allocations: 0 / 1.337 GB, free: 12.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001297/1.017, allocations: 0.6636 MB / 1.338 GB, free: 12.17 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/1.017, allocations: 140.4 kB / 1.338 GB, free: 12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/1.019, allocations: 1.654 MB / 1.34 GB, free: 10.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/1.019, allocations: 37.7 kB / 1.34 GB, free: 10.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/1.02, allocations: 0.5424 MB / 1.34 GB, free: 9.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/1.02, allocations: 98.64 kB / 1.34 GB, free: 9.652 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/1.02, allocations: 69.55 kB / 1.341 GB, free: 9.578 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/1.02, allocations: 325.9 kB / 1.341 GB, free: 9.254 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/1.02, allocations: 159.9 kB / 1.341 GB, free: 9.098 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/1.021, allocations: 294.1 kB / 1.341 GB, free: 8.773 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/1.021, allocations: 429.9 kB / 1.342 GB, free: 8.316 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.021, allocations: 0 / 1.342 GB, free: 8.316 MB / 1.076 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007811/1.022, allocations: 0.5581 MB / 1.342 GB, free: 7.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.022, allocations: 4 kB / 1.342 GB, free: 7.746 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.022, allocations: 4 kB / 1.342 GB, free: 7.742 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.022, allocations: 4 kB / 1.342 GB, free: 7.738 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/1.022, allocations: 63.91 kB / 1.342 GB, free: 7.676 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.022, allocations: 4.781 kB / 1.342 GB, free: 7.672 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/1.023, allocations: 106.5 kB / 1.342 GB, free: 7.566 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/1.023, allocations: 19.98 kB / 1.342 GB, free: 7.547 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0004385/1.023, allocations: 385.8 kB / 1.343 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/1.024, allocations: 134.3 kB / 1.343 GB, free: 7.027 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/1.024, allocations: 380.7 kB / 1.343 GB, free: 6.629 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.024, allocations: 7.938 kB / 1.343 GB, free: 6.621 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.024, allocations: 0 / 1.343 GB, free: 6.621 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.024, allocations: 4 kB / 1.343 GB, free: 6.617 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/1.027, allocations: 2.513 MB / 1.346 GB, free: 3.922 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.027, allocations: 4 kB / 1.346 GB, free: 3.918 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/1.028, allocations: 55.86 kB / 1.346 GB, free: 3.863 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/1.028, allocations: 11.94 kB / 1.346 GB, free: 3.852 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/1.028, allocations: 12.72 kB / 1.346 GB, free: 3.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/1.028, allocations: 16.05 kB / 1.346 GB, free: 3.824 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.028, allocations: 19.88 kB / 1.346 GB, free: 3.805 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006585/1.028, allocations: 0.6223 MB / 1.346 GB, free: 3.082 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/1.029, allocations: 291.2 kB / 1.347 GB, free: 2.777 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/1.029, allocations: 12 kB / 1.347 GB, free: 2.766 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/1.029, allocations: 15.98 kB / 1.347 GB, free: 2.75 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/1.029, allocations: 31.86 kB / 1.347 GB, free: 2.719 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/1.029, allocations: 16 kB / 1.347 GB, free: 2.703 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001467/1.031, allocations: 1.211 MB / 1.348 GB, free: 1.496 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.031, allocations: 0 / 1.348 GB, free: 1.496 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009333/1.032, allocations: 323.8 kB / 1.348 GB, free: 1.18 MB / 1.076 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.002285/1.034, allocations: 1.663 MB / 1.35 GB, free: 15.42 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005394/1.035, allocations: 367.5 kB / 1.35 GB, free: 15.06 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.035, allocations: 4 kB / 1.35 GB, free: 15.06 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/1.035, allocations: 157.7 kB / 1.35 GB, free: 14.91 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003638/1.039, allocations: 0.9222 MB / 1.351 GB, free: 14.01 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/1.052, allocations: 10.37 MB / 1.361 GB, free: 3.285 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008307/1.052, allocations: 1.197 MB / 1.363 GB, free: 2.059 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008632/1.053, allocations: 302.6 kB / 1.363 GB, free: 1.758 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/1.054, allocations: 459.3 kB / 1.363 GB, free: 1.312 MB / 1.092 GB Notification: Performance of SimCode: time 3.61e-07/1.054, allocations: 0 / 1.363 GB, free: 1.312 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06905/1.123, allocations: 43.79 MB / 1.406 GB, free: 6.016 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.82/10.94, allocations: 0 / 1.406 GB, free: 6.016 MB / 1.139 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches