Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Boundary,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_9_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.001096/0.001096, allocations: 112.5 kB / 15.73 MB, free: 76 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.001069/0.001069, allocations: 193.1 kB / 16.66 MB, free: 6.582 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.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.282/2.282, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 66.8 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2331, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.7502/0.9833, allocations: 253.3 MB / 1.335 GB, free: 2.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02112/1.004, allocations: 20.6 MB / 1.355 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/1.007, allocations: 74.53 kB / 1.355 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/1.009, allocations: 0.8322 MB / 1.356 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006484/1.015, allocations: 3.04 MB / 1.359 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006383/1.022, allocations: 2.819 MB / 1.362 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004499/1.026, allocations: 3.836 MB / 1.365 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/1.028, allocations: 1.3 MB / 1.367 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/1.03, allocations: 1.442 MB / 1.368 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/1.032, allocations: 0.9946 MB / 1.369 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/1.032, allocations: 109.2 kB / 1.369 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007635/1.039, allocations: 3.969 MB / 1.373 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006021/1.04, allocations: 0.6463 MB / 1.374 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001193/1.041, allocations: 0.9752 MB / 1.375 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006317/1.048, allocations: 4.161 MB / 1.379 GB, free: 10.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.048, allocations: 3.188 kB / 1.379 GB, free: 10.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/1.048, allocations: 0 / 1.379 GB, free: 10.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.555e-05/1.048, allocations: 0 / 1.379 GB, free: 10.09 MB / 1.029 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.003049/1.051, allocations: 2.369 MB / 1.381 GB, free: 8.531 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/1.051, allocations: 7.188 kB / 1.381 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001965/1.051, allocations: 191.9 kB / 1.381 GB, free: 8.414 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/1.053, allocations: 496.7 kB / 1.382 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/1.055, allocations: 1.389 MB / 1.383 GB, free: 7.559 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.094e-05/1.055, allocations: 96.88 kB / 1.383 GB, free: 7.516 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/1.056, allocations: 125.1 kB / 1.383 GB, free: 7.473 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/1.058, allocations: 1.72 MB / 1.385 GB, free: 6.598 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/1.058, allocations: 8.312 kB / 1.385 GB, free: 6.598 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.058, allocations: 49.34 kB / 1.385 GB, free: 6.562 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/1.058, allocations: 64.02 kB / 1.385 GB, free: 6.555 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/1.06, allocations: 1.227 MB / 1.386 GB, free: 6.156 MB / 1.029 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.006686/1.066, allocations: 7.541 MB / 1.393 GB, free: 124 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008059/1.067, allocations: 0.6649 MB / 1.394 GB, free: 15.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006397/1.068, allocations: 0.6172 MB / 1.395 GB, free: 15.3 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/1.069, allocations: 1.874 MB / 1.397 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/1.069, allocations: 57.64 kB / 1.397 GB, free: 13.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=72): time 2.505e-06/1.069, allocations: 0 / 1.397 GB, free: 13.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=72): time 0.002272/1.072, allocations: 1.407 MB / 1.398 GB, free: 12.43 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.072, allocations: 296 kB / 1.398 GB, free: 12.08 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/1.074, allocations: 1.887 MB / 1.4 GB, free: 11.07 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/1.074, allocations: 40.45 kB / 1.4 GB, free: 11.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005903/1.074, allocations: 0.725 MB / 1.401 GB, free: 10.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/1.075, allocations: 258 kB / 1.401 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/1.075, allocations: 133.4 kB / 1.401 GB, free: 10.09 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.075, allocations: 334.8 kB / 1.402 GB, free: 9.766 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/1.075, allocations: 327.2 kB / 1.402 GB, free: 9.613 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/1.076, allocations: 0.5679 MB / 1.402 GB, free: 9.258 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000943/1.077, allocations: 0.8584 MB / 1.403 GB, free: 8.754 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.077, allocations: 2.906 kB / 1.403 GB, free: 8.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00126/1.078, allocations: 1.02 MB / 1.404 GB, free: 8.258 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/1.078, allocations: 5.062 kB / 1.404 GB, free: 8.258 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.078, allocations: 3.188 kB / 1.404 GB, free: 8.258 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.078, allocations: 6.906 kB / 1.404 GB, free: 8.258 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/1.079, allocations: 124.5 kB / 1.404 GB, free: 8.238 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/1.079, allocations: 12.14 kB / 1.404 GB, free: 8.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/1.079, allocations: 133.8 kB / 1.405 GB, free: 8.137 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-05/1.079, allocations: 39.83 kB / 1.405 GB, free: 8.129 MB / 1.045 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.0005447/1.08, allocations: 456.1 kB / 1.405 GB, free: 7.824 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/1.08, allocations: 206.2 kB / 1.405 GB, free: 7.711 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/1.082, allocations: 1.091 MB / 1.406 GB, free: 7.137 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/1.082, allocations: 10.75 kB / 1.406 GB, free: 7.137 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.082, allocations: 5.062 kB / 1.406 GB, free: 7.137 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.082, allocations: 5.766 kB / 1.406 GB, free: 7.133 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/1.092, allocations: 8.764 MB / 1.415 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/1.092, allocations: 15.81 kB / 1.415 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/1.093, allocations: 142.7 kB / 1.415 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.537e-05/1.093, allocations: 21.19 kB / 1.415 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/1.093, allocations: 36.09 kB / 1.415 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.736e-05/1.093, allocations: 30.14 kB / 1.415 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/1.093, allocations: 23.38 kB / 1.415 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/1.095, allocations: 1.69 MB / 1.417 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000685/1.095, allocations: 419.4 kB / 1.417 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/1.095, allocations: 41.3 kB / 1.417 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/1.096, allocations: 23.56 kB / 1.417 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.096, allocations: 109.3 kB / 1.417 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.908e-05/1.096, allocations: 56.11 kB / 1.417 GB, free: 15.15 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001643/1.098, allocations: 1.317 MB / 1.419 GB, free: 14.01 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.098, allocations: 0 / 1.419 GB, free: 14.01 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001582/1.1, allocations: 0.5184 MB / 1.419 GB, free: 13.49 MB / 1.061 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.003655/1.103, allocations: 3.026 MB / 1.422 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001114/1.104, allocations: 0.8543 MB / 1.423 GB, free: 9.484 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.104, allocations: 0 / 1.423 GB, free: 9.484 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005832/1.105, allocations: 488.5 kB / 1.423 GB, free: 9.055 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005717/1.111, allocations: 1.341 MB / 1.425 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/1.128, allocations: 13.92 MB / 1.438 GB, free: 9.266 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.129, allocations: 1.406 MB / 1.44 GB, free: 7.832 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001444/1.13, allocations: 486.6 kB / 1.44 GB, free: 7.352 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007474/1.131, allocations: 0.6632 MB / 1.441 GB, free: 6.688 MB / 1.076 GB Notification: Performance of SimCode: time 7.22e-07/1.131, allocations: 0 / 1.441 GB, free: 6.688 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09303/1.224, allocations: 60.07 MB / 1.499 GB, free: 11.22 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.45, allocations: 6.406 kB / 1.499 GB, free: 11.21 MB / 1.139 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches