Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Boundary,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_Boundary",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.007351/0.007351, allocations: 104.2 kB / 15.73 MB, free: 5.953 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.002108/0.002108, allocations: 190.3 kB / 16.67 MB, free: 5.871 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.696/2.696, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6584/0.6604, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2782/0.9386, allocations: 253.3 MB / 1.468 GB, free: 3.793 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02688/0.9655, allocations: 20.59 MB / 1.488 GB, free: 15.14 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.9672, allocations: 75.44 kB / 1.488 GB, free: 15.07 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.9691, allocations: 0.8259 MB / 1.489 GB, free: 14.24 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006585/0.9757, allocations: 2.919 MB / 1.491 GB, free: 11.31 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006285/0.982, allocations: 2.747 MB / 1.494 GB, free: 8.57 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004554/0.9866, allocations: 3.816 MB / 1.498 GB, free: 4.742 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.9884, allocations: 1.308 MB / 1.499 GB, free: 3.398 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.9906, allocations: 1.417 MB / 1.5 GB, free: 1.98 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.9918, allocations: 1.007 MB / 1.501 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.992, allocations: 108 kB / 1.502 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007656/0.9997, allocations: 3.951 MB / 1.505 GB, free: 12.9 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006247/1, allocations: 0.6426 MB / 1.506 GB, free: 12.26 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/1.001, allocations: 0.9834 MB / 1.507 GB, free: 11.27 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.006145/1.008, allocations: 4.158 MB / 1.511 GB, free: 7.098 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/1.008, allocations: 0 / 1.511 GB, free: 7.098 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.383e-06/1.008, allocations: 0 / 1.511 GB, free: 7.098 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.811e-05/1.008, allocations: 4 kB / 1.511 GB, free: 7.094 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003057/1.011, allocations: 2.362 MB / 1.513 GB, free: 4.672 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/1.011, allocations: 12.03 kB / 1.513 GB, free: 4.66 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002282/1.011, allocations: 190 kB / 1.514 GB, free: 4.465 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/1.013, allocations: 0.4904 MB / 1.514 GB, free: 3.973 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/1.015, allocations: 1.393 MB / 1.515 GB, free: 2.527 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.511e-05/1.015, allocations: 94.44 kB / 1.515 GB, free: 2.434 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/1.015, allocations: 124 kB / 1.516 GB, free: 2.312 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002568/1.018, allocations: 1.72 MB / 1.517 GB, free: 464 kB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/1.018, allocations: 7.938 kB / 1.517 GB, free: 456 kB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/1.018, allocations: 48 kB / 1.517 GB, free: 408 kB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.389e-05/1.018, allocations: 67.86 kB / 1.517 GB, free: 340 kB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/1.02, allocations: 1.221 MB / 1.519 GB, free: 15.11 MB / 1.248 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.007794/1.028, allocations: 7.546 MB / 1.526 GB, free: 7.172 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/1.029, allocations: 0.6624 MB / 1.527 GB, free: 6.418 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008257/1.03, allocations: 0.6174 MB / 1.527 GB, free: 5.77 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001803/1.032, allocations: 1.868 MB / 1.529 GB, free: 3.496 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/1.032, allocations: 58.5 kB / 1.529 GB, free: 3.43 MB / 1.248 GB Notification: Performance of pre-optimization done (n=72): time 2.405e-06/1.032, allocations: 0 / 1.529 GB, free: 3.43 MB / 1.248 GB Notification: Performance of matching and sorting (n=72): time 0.002475/1.034, allocations: 1.4 MB / 1.53 GB, free: 2.023 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002143/1.034, allocations: 302.7 kB / 1.531 GB, free: 1.66 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/1.037, allocations: 1.888 MB / 1.533 GB, free: 15.73 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/1.037, allocations: 41.7 kB / 1.533 GB, free: 15.69 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007438/1.038, allocations: 0.7254 MB / 1.533 GB, free: 14.96 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/1.038, allocations: 253.8 kB / 1.534 GB, free: 14.71 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/1.038, allocations: 134.3 kB / 1.534 GB, free: 14.57 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.038, allocations: 333.9 kB / 1.534 GB, free: 14.24 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/1.039, allocations: 329.1 kB / 1.534 GB, free: 13.91 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/1.04, allocations: 0.5703 MB / 1.535 GB, free: 13.3 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/1.041, allocations: 0.8532 MB / 1.536 GB, free: 12.39 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.041, allocations: 4 kB / 1.536 GB, free: 12.39 MB / 1.264 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001479/1.042, allocations: 1.027 MB / 1.537 GB, free: 11.36 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/1.042, allocations: 8 kB / 1.537 GB, free: 11.35 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.042, allocations: 4.5 kB / 1.537 GB, free: 11.34 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.042, allocations: 4 kB / 1.537 GB, free: 11.34 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/1.043, allocations: 124 kB / 1.537 GB, free: 11.22 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.043, allocations: 11.98 kB / 1.537 GB, free: 11.21 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/1.044, allocations: 138.8 kB / 1.537 GB, free: 11.07 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/1.044, allocations: 43.92 kB / 1.537 GB, free: 11.03 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0006084/1.044, allocations: 453.5 kB / 1.537 GB, free: 10.57 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/1.045, allocations: 202.7 kB / 1.538 GB, free: 10.38 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/1.046, allocations: 1.087 MB / 1.539 GB, free: 9.277 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.046, allocations: 12 kB / 1.539 GB, free: 9.266 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.046, allocations: 4 kB / 1.539 GB, free: 9.262 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.046, allocations: 3.984 kB / 1.539 GB, free: 9.258 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/1.058, allocations: 8.758 MB / 1.547 GB, free: 0 / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/1.058, allocations: 24.11 kB / 1.547 GB, free: 15.97 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/1.059, allocations: 143.7 kB / 1.547 GB, free: 15.83 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/1.059, allocations: 20 kB / 1.547 GB, free: 15.81 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/1.059, allocations: 39.94 kB / 1.548 GB, free: 15.77 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.451e-05/1.059, allocations: 28.47 kB / 1.548 GB, free: 15.75 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.879e-05/1.059, allocations: 27.88 kB / 1.548 GB, free: 15.72 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/1.061, allocations: 1.677 MB / 1.549 GB, free: 13.82 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/1.061, allocations: 431.4 kB / 1.55 GB, free: 13.38 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/1.061, allocations: 35.92 kB / 1.55 GB, free: 13.35 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/1.062, allocations: 28 kB / 1.55 GB, free: 13.32 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.062, allocations: 103.5 kB / 1.55 GB, free: 13.22 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.093e-05/1.062, allocations: 59.98 kB / 1.55 GB, free: 13.16 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001727/1.064, allocations: 1.316 MB / 1.551 GB, free: 11.82 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.3e-07/1.064, allocations: 3.938 kB / 1.551 GB, free: 11.82 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00147/1.066, allocations: 0.5145 MB / 1.552 GB, free: 11.3 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004035/1.07, allocations: 3.017 MB / 1.555 GB, free: 8.066 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001238/1.071, allocations: 0.8523 MB / 1.555 GB, free: 7.215 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.071, allocations: 4 kB / 1.555 GB, free: 7.211 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.000662/1.071, allocations: 486.1 kB / 1.556 GB, free: 6.738 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005642/1.077, allocations: 1.341 MB / 1.557 GB, free: 5.445 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.507/1.584, allocations: 13.91 MB / 1.571 GB, free: 334 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009186/1.585, allocations: 1.404 MB / 1.572 GB, free: 333.2 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001313/1.586, allocations: 488.8 kB / 1.573 GB, free: 333.2 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006114/1.587, allocations: 0.6577 MB / 1.573 GB, free: 332.7 MB / 1.279 GB Notification: Performance of SimCode: time 7.21e-07/1.587, allocations: 0 / 1.573 GB, free: 332.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07694/1.664, allocations: 60.08 MB / 1.632 GB, free: 285.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.95, allocations: 14.3 kB / 1.632 GB, free: 285.9 MB / 1.279 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sources.Validation.Boundary_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.Boundary_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches