Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Boundary,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_10_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.005384/0.005384, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.00133/0.00133, allocations: 185.9 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.378/2.378, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 71.81 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.681/0.6831, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2539/0.9371, allocations: 253.3 MB / 1.414 GB, free: 5.559 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02533/0.9624, allocations: 20.6 MB / 1.434 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002128/0.9646, allocations: 79.44 kB / 1.434 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.9669, allocations: 0.8376 MB / 1.435 GB, free: 15.98 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007005/0.9739, allocations: 3.044 MB / 1.438 GB, free: 12.92 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006288/0.9802, allocations: 2.786 MB / 1.44 GB, free: 10.14 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004739/0.985, allocations: 3.825 MB / 1.444 GB, free: 6.309 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.987, allocations: 1.312 MB / 1.445 GB, free: 4.969 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.9898, allocations: 1.452 MB / 1.447 GB, free: 3.516 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.9913, allocations: 0.9915 MB / 1.448 GB, free: 2.52 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003406/0.9917, allocations: 108 kB / 1.448 GB, free: 2.414 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007904/0.9996, allocations: 3.962 MB / 1.452 GB, free: 14.44 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007363/1, allocations: 0.6465 MB / 1.452 GB, free: 13.79 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001437/1.002, allocations: 0.9756 MB / 1.453 GB, free: 12.81 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006479/1.008, allocations: 4.162 MB / 1.457 GB, free: 8.633 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.008, allocations: 4 kB / 1.457 GB, free: 8.629 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.533e-06/1.008, allocations: 0 / 1.457 GB, free: 8.629 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.156e-05/1.008, allocations: 0 / 1.457 GB, free: 8.629 MB / 1.186 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.003688/1.012, allocations: 2.366 MB / 1.46 GB, free: 6.203 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.012, allocations: 8.922 kB / 1.46 GB, free: 6.195 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002591/1.012, allocations: 198 kB / 1.46 GB, free: 5.992 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/1.015, allocations: 498.2 kB / 1.46 GB, free: 5.504 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/1.017, allocations: 1.381 MB / 1.462 GB, free: 4.07 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.419e-05/1.017, allocations: 102.4 kB / 1.462 GB, free: 3.969 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/1.017, allocations: 124 kB / 1.462 GB, free: 3.848 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/1.02, allocations: 1.719 MB / 1.463 GB, free: 1.988 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/1.02, allocations: 3.938 kB / 1.463 GB, free: 1.984 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/1.02, allocations: 52 kB / 1.464 GB, free: 1.934 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.429e-05/1.02, allocations: 71.86 kB / 1.464 GB, free: 1.863 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/1.022, allocations: 1.232 MB / 1.465 GB, free: 0.6328 MB / 1.186 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.006822/1.028, allocations: 7.539 MB / 1.472 GB, free: 8.699 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008456/1.029, allocations: 0.6617 MB / 1.473 GB, free: 7.945 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006899/1.03, allocations: 0.6213 MB / 1.473 GB, free: 7.293 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/1.031, allocations: 1.869 MB / 1.475 GB, free: 5.02 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/1.031, allocations: 58.5 kB / 1.475 GB, free: 4.953 MB / 1.201 GB Notification: Performance of pre-optimization done (n=72): time 2.796e-06/1.031, allocations: 0 / 1.475 GB, free: 4.953 MB / 1.201 GB Notification: Performance of matching and sorting (n=72): time 0.002273/1.034, allocations: 1.396 MB / 1.477 GB, free: 3.551 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.034, allocations: 302.7 kB / 1.477 GB, free: 3.188 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/1.036, allocations: 1.884 MB / 1.479 GB, free: 1.266 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/1.036, allocations: 49.64 kB / 1.479 GB, free: 1.211 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006041/1.037, allocations: 0.7293 MB / 1.48 GB, free: 488 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/1.037, allocations: 257.8 kB / 1.48 GB, free: 228 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/1.037, allocations: 126.3 kB / 1.48 GB, free: 96 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.037, allocations: 333.9 kB / 1.48 GB, free: 15.76 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/1.038, allocations: 333.1 kB / 1.481 GB, free: 15.44 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/1.038, allocations: 0.5652 MB / 1.481 GB, free: 14.82 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009781/1.039, allocations: 0.8575 MB / 1.482 GB, free: 13.92 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.039, allocations: 0 / 1.482 GB, free: 13.92 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001369/1.041, allocations: 1.027 MB / 1.483 GB, free: 12.88 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.041, allocations: 8 kB / 1.483 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.041, allocations: 0 / 1.483 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.041, allocations: 12 kB / 1.483 GB, free: 12.86 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/1.041, allocations: 123.8 kB / 1.483 GB, free: 12.74 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/1.041, allocations: 8 kB / 1.483 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/1.042, allocations: 138.9 kB / 1.483 GB, free: 12.6 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/1.042, allocations: 47.92 kB / 1.483 GB, free: 12.55 MB / 1.217 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.0005348/1.043, allocations: 451.8 kB / 1.484 GB, free: 12.1 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003863/1.043, allocations: 202.7 kB / 1.484 GB, free: 11.9 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/1.045, allocations: 1.087 MB / 1.485 GB, free: 10.81 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/1.045, allocations: 15.98 kB / 1.485 GB, free: 10.79 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.045, allocations: 0 / 1.485 GB, free: 10.79 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/1.045, allocations: 11.98 kB / 1.485 GB, free: 10.78 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/1.055, allocations: 8.753 MB / 1.494 GB, free: 1.531 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-05/1.055, allocations: 12.97 kB / 1.494 GB, free: 1.52 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/1.056, allocations: 143.8 kB / 1.494 GB, free: 1.379 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-05/1.056, allocations: 27.98 kB / 1.494 GB, free: 1.352 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/1.056, allocations: 47.86 kB / 1.494 GB, free: 1.305 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.857e-05/1.056, allocations: 27.92 kB / 1.494 GB, free: 1.277 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-05/1.056, allocations: 23.88 kB / 1.494 GB, free: 1.254 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/1.058, allocations: 1.673 MB / 1.495 GB, free: 15.36 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007202/1.058, allocations: 435.4 kB / 1.496 GB, free: 14.91 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/1.059, allocations: 31.98 kB / 1.496 GB, free: 14.88 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/1.059, allocations: 28 kB / 1.496 GB, free: 14.85 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/1.059, allocations: 103.5 kB / 1.496 GB, free: 14.75 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/1.059, allocations: 59.98 kB / 1.496 GB, free: 14.69 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001678/1.061, allocations: 1.316 MB / 1.497 GB, free: 13.36 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.8e-07/1.061, allocations: 0 / 1.497 GB, free: 13.36 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001586/1.063, allocations: 0.5184 MB / 1.498 GB, free: 12.84 MB / 1.232 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.004015/1.067, allocations: 3.018 MB / 1.501 GB, free: 9.594 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001171/1.068, allocations: 0.8483 MB / 1.502 GB, free: 8.742 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.068, allocations: 4 kB / 1.502 GB, free: 8.738 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005987/1.069, allocations: 491.1 kB / 1.502 GB, free: 8.262 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005635/1.074, allocations: 1.336 MB / 1.503 GB, free: 6.969 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/1.092, allocations: 13.93 MB / 1.517 GB, free: 8.344 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/1.093, allocations: 1.41 MB / 1.518 GB, free: 6.902 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00141/1.094, allocations: 490.6 kB / 1.519 GB, free: 6.418 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007772/1.095, allocations: 0.6516 MB / 1.519 GB, free: 5.766 MB / 1.248 GB Notification: Performance of SimCode: time 7.21e-07/1.095, allocations: 0 / 1.519 GB, free: 5.766 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6039/1.699, allocations: 60.06 MB / 1.578 GB, free: 377.5 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/12.69, allocations: 24.06 kB / 1.578 GB, free: 377.5 MB / 1.279 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sources.Validation.Boundary_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_Boundary.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Boundary_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches