Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BoundaryWithXi_in,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_10_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.001612/0.001612, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.859/2.859, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.89 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5559/0.5573, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2046/0.762, allocations: 214.1 MB / 1.226 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.7755, allocations: 12.16 MB / 1.238 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.7766, allocations: 51.62 kB / 1.238 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.7778, allocations: 0.5041 MB / 1.239 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003889/0.7817, allocations: 1.874 MB / 1.241 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.7856, allocations: 1.894 MB / 1.243 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002281/0.7879, allocations: 2.371 MB / 1.245 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.7892, allocations: 1.205 MB / 1.246 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.7903, allocations: 0.821 MB / 1.247 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006585/0.791, allocations: 0.6573 MB / 1.247 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.7911, allocations: 88 kB / 1.248 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00489/0.796, allocations: 2.845 MB / 1.25 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004375/0.7965, allocations: 0.5377 MB / 1.251 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006775/0.7972, allocations: 0.727 MB / 1.252 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5625/1.36, allocations: 3.114 MB / 1.255 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.36, allocations: 3.75 kB / 1.255 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/1.36, allocations: 0.75 kB / 1.255 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.482e-05/1.36, allocations: 0 / 1.255 GB, free: 10.48 MB / 0.9981 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.002316/1.362, allocations: 1.731 MB / 1.256 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/1.362, allocations: 12.81 kB / 1.256 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002018/1.362, allocations: 169 kB / 1.257 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/1.364, allocations: 370 kB / 1.257 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/1.365, allocations: 0.8875 MB / 1.258 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/1.365, allocations: 76.78 kB / 1.258 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/1.365, allocations: 101.7 kB / 1.258 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/1.368, allocations: 1.506 MB / 1.259 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/1.368, allocations: 5.562 kB / 1.259 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.368, allocations: 53.53 kB / 1.259 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.641e-05/1.368, allocations: 58.16 kB / 1.259 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/1.369, allocations: 1.017 MB / 1.26 GB, free: 8.957 MB / 0.9981 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.006372/1.376, allocations: 5.924 MB / 1.266 GB, free: 21.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/1.376, allocations: 330.3 kB / 1.267 GB, free: 21.42 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/1.377, allocations: 245.5 kB / 1.267 GB, free: 21.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006089/1.377, allocations: 0.7142 MB / 1.268 GB, free: 20.63 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/1.377, allocations: 42.72 kB / 1.268 GB, free: 20.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/1.377, allocations: 0 / 1.268 GB, free: 20.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001413/1.379, allocations: 0.668 MB / 1.268 GB, free: 20.49 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/1.379, allocations: 134 kB / 1.268 GB, free: 20.33 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/1.381, allocations: 1.658 MB / 1.27 GB, free: 20.17 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/1.381, allocations: 32.02 kB / 1.27 GB, free: 20.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/1.382, allocations: 0.551 MB / 1.271 GB, free: 20.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/1.382, allocations: 91.77 kB / 1.271 GB, free: 19.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/1.382, allocations: 74.39 kB / 1.271 GB, free: 19.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/1.382, allocations: 317.3 kB / 1.271 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/1.382, allocations: 162.6 kB / 1.271 GB, free: 19.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/1.383, allocations: 288.1 kB / 1.271 GB, free: 19.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/1.383, allocations: 444 kB / 1.272 GB, free: 19.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.383, allocations: 0.875 kB / 1.272 GB, free: 19.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007524/1.384, allocations: 0.5635 MB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.384, allocations: 5.625 kB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.384, allocations: 3.969 kB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/1.384, allocations: 4.219 kB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/1.384, allocations: 59.3 kB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.384, allocations: 9 kB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006119/1.385, allocations: 109 kB / 1.273 GB, free: 19.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/1.385, allocations: 24.08 kB / 1.273 GB, free: 19.27 MB / 1.014 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.0004181/1.385, allocations: 382.9 kB / 1.273 GB, free: 19.15 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/1.385, allocations: 136.8 kB / 1.273 GB, free: 19.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005938/1.386, allocations: 380.9 kB / 1.273 GB, free: 19 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.386, allocations: 4.438 kB / 1.273 GB, free: 19 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/1.386, allocations: 0.6562 kB / 1.273 GB, free: 19 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.386, allocations: 3.406 kB / 1.273 GB, free: 19 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/1.39, allocations: 2.609 MB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.39, allocations: 8.25 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/1.39, allocations: 47.58 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/1.39, allocations: 8.344 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/1.39, allocations: 13.16 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/1.39, allocations: 10.66 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.39, allocations: 10.94 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/1.391, allocations: 0.6176 MB / 1.277 GB, free: 17.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004148/1.391, allocations: 292.1 kB / 1.277 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/1.391, allocations: 14.47 kB / 1.277 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/1.391, allocations: 15.81 kB / 1.277 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/1.392, allocations: 40.72 kB / 1.277 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/1.392, allocations: 20.09 kB / 1.277 GB, free: 17.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00148/1.393, allocations: 1.205 MB / 1.278 GB, free: 17.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.393, allocations: 0.8438 kB / 1.278 GB, free: 17.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009955/1.394, allocations: 337 kB / 1.279 GB, free: 17.35 MB / 1.014 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.002254/1.396, allocations: 1.696 MB / 1.28 GB, free: 16.44 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005236/1.397, allocations: 351.5 kB / 1.281 GB, free: 16.44 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.397, allocations: 1.062 kB / 1.281 GB, free: 16.44 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/1.397, allocations: 165 kB / 1.281 GB, free: 16.44 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/1.401, allocations: 0.9167 MB / 1.282 GB, free: 16.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.412, allocations: 11.4 MB / 1.293 GB, free: 12.38 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/1.413, allocations: 1.21 MB / 1.294 GB, free: 11.67 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001044/1.414, allocations: 296.7 kB / 1.294 GB, free: 11.63 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/1.414, allocations: 461.5 kB / 1.295 GB, free: 11.62 MB / 1.014 GB Notification: Performance of SimCode: time 7.02e-07/1.414, allocations: 1.094 kB / 1.295 GB, free: 11.62 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0665/1.481, allocations: 42.89 MB / 1.337 GB, free: 1.688 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/9.574, allocations: 7.516 kB / 1.337 GB, free: 1.684 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches