Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_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.001661/0.001661, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002209/0.002209, allocations: 195.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.455/2.455, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.462/4.462, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 61.94 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5509/0.553, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 1.31/1.863, allocations: 251.2 MB / 1.298 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03024/1.893, allocations: 20.58 MB / 1.318 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004296/1.897, allocations: 83.31 kB / 1.318 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003389/1.901, allocations: 0.6958 MB / 1.319 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009879/1.911, allocations: 2.741 MB / 1.321 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008935/1.92, allocations: 2.566 MB / 1.324 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00751/1.927, allocations: 3.842 MB / 1.328 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/1.93, allocations: 1.225 MB / 1.329 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003868/1.934, allocations: 1.441 MB / 1.33 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/1.936, allocations: 1.078 MB / 1.331 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006077/1.937, allocations: 109.1 kB / 1.331 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01162/1.948, allocations: 4.78 MB / 1.336 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001313/1.95, allocations: 0.6533 MB / 1.337 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004026/1.954, allocations: 0.9799 MB / 1.338 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01336/1.967, allocations: 4.541 MB / 1.342 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/1.967, allocations: 0 / 1.342 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.324e-06/1.967, allocations: 0 / 1.342 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001351/1.967, allocations: 0 / 1.342 GB, free: 0.5977 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.006321/1.974, allocations: 2.295 MB / 1.344 GB, free: 15.4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/1.974, allocations: 11.91 kB / 1.344 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002765/1.974, allocations: 193.9 kB / 1.344 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/1.976, allocations: 483.3 kB / 1.345 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/1.979, allocations: 1.251 MB / 1.346 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.273e-05/1.979, allocations: 96.91 kB / 1.346 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/1.979, allocations: 125.2 kB / 1.346 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/1.982, allocations: 1.724 MB / 1.348 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/1.982, allocations: 5.906 kB / 1.348 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/1.983, allocations: 51.59 kB / 1.348 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/1.983, allocations: 67.05 kB / 1.348 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/1.985, allocations: 1.214 MB / 1.349 GB, free: 14.42 MB / 1.014 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.01266/1.998, allocations: 7.572 MB / 1.357 GB, free: 9.848 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/1.999, allocations: 0.6683 MB / 1.357 GB, free: 9.605 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/2.001, allocations: 0.6178 MB / 1.358 GB, free: 9.523 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002848/2.004, allocations: 1.864 MB / 1.36 GB, free: 7.457 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.594e-05/2.004, allocations: 64.41 kB / 1.36 GB, free: 7.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 7.303e-06/2.004, allocations: 0 / 1.36 GB, free: 7.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=72): time 0.004772/2.008, allocations: 1.385 MB / 1.361 GB, free: 7.277 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002293/2.009, allocations: 297.8 kB / 1.362 GB, free: 6.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004663/2.013, allocations: 1.891 MB / 1.363 GB, free: 6.719 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002693/2.014, allocations: 42.23 kB / 1.363 GB, free: 6.688 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/2.015, allocations: 0.7221 MB / 1.364 GB, free: 6.559 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005488/2.015, allocations: 252.4 kB / 1.364 GB, free: 6.398 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/2.016, allocations: 132.4 kB / 1.364 GB, free: 6.379 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002147/2.016, allocations: 331.6 kB / 1.365 GB, free: 6.074 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007893/2.017, allocations: 330.4 kB / 1.365 GB, free: 6.066 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/2.018, allocations: 0.5613 MB / 1.366 GB, free: 5.844 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005936/2.024, allocations: 0.8619 MB / 1.366 GB, free: 5.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/2.024, allocations: 0 / 1.366 GB, free: 5.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002861/2.027, allocations: 1.013 MB / 1.367 GB, free: 5.047 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/2.027, allocations: 9.078 kB / 1.367 GB, free: 5.047 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/2.027, allocations: 3.531 kB / 1.367 GB, free: 5.047 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.684e-05/2.027, allocations: 11.53 kB / 1.367 GB, free: 5.043 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/2.028, allocations: 122.1 kB / 1.368 GB, free: 5.039 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/2.028, allocations: 14.81 kB / 1.368 GB, free: 5.035 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/2.03, allocations: 131 kB / 1.368 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/2.03, allocations: 43.17 kB / 1.368 GB, free: 4.941 MB / 1.014 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.00549/2.035, allocations: 461 kB / 1.368 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009714/2.036, allocations: 198.7 kB / 1.368 GB, free: 4.566 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003347/2.04, allocations: 1.089 MB / 1.369 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/2.04, allocations: 12.14 kB / 1.37 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/2.04, allocations: 0 / 1.37 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/2.04, allocations: 15.06 kB / 1.37 GB, free: 4.145 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/2.062, allocations: 8.951 MB / 1.378 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.759e-05/2.062, allocations: 17.23 kB / 1.378 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007553/2.063, allocations: 146.8 kB / 1.378 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-05/2.063, allocations: 19.44 kB / 1.378 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/2.063, allocations: 38.22 kB / 1.378 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.413e-05/2.063, allocations: 26.89 kB / 1.378 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.232e-05/2.063, allocations: 32.56 kB / 1.379 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/2.067, allocations: 1.678 MB / 1.38 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/2.068, allocations: 412.1 kB / 1.381 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005045/2.069, allocations: 33.7 kB / 1.381 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/2.07, allocations: 46.47 kB / 1.381 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/2.071, allocations: 104.4 kB / 1.381 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/2.071, allocations: 58.61 kB / 1.381 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003167/2.074, allocations: 1.322 MB / 1.382 GB, free: 12.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.71e-07/2.074, allocations: 0 / 1.382 GB, free: 12.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003772/2.078, allocations: 0.5227 MB / 1.383 GB, free: 12.51 MB / 1.029 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.007139/2.085, allocations: 3.012 MB / 1.386 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002494/2.087, allocations: 0.8671 MB / 1.386 GB, free: 9.953 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.941e-05/2.087, allocations: 2.5 kB / 1.386 GB, free: 9.953 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/2.089, allocations: 487.2 kB / 1.387 GB, free: 9.777 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01175/2.1, allocations: 1.348 MB / 1.388 GB, free: 9.094 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03994/2.14, allocations: 16.03 MB / 1.404 GB, free: 10.98 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/2.142, allocations: 1.406 MB / 1.405 GB, free: 9.551 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002461/2.144, allocations: 490.6 kB / 1.406 GB, free: 9.066 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/2.146, allocations: 0.658 MB / 1.406 GB, free: 8.41 MB / 1.045 GB Notification: Performance of SimCode: time 1.142e-06/2.146, allocations: 0 / 1.406 GB, free: 8.41 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.651/4.797, allocations: 60.56 MB / 1.465 GB, free: 12.53 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003903/4.797, allocations: 238.6 kB / 1.466 GB, free: 12.27 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/12.89, allocations: 3.938 kB / 1.466 GB, free: 12.27 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches