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.001112/0.001112, 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.001087/0.001087, allocations: 196.6 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.583/2.583, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 65.03 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2465, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.7178/0.9644, allocations: 253.3 MB / 1.3 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01957/0.984, allocations: 20.59 MB / 1.32 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.9863, allocations: 79.69 kB / 1.32 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.988, allocations: 0.8342 MB / 1.321 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006241/0.9943, allocations: 2.912 MB / 1.324 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005678/1, allocations: 2.739 MB / 1.327 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004329/1.004, allocations: 3.818 MB / 1.331 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/1.006, allocations: 1.304 MB / 1.332 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/1.008, allocations: 1.426 MB / 1.333 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/1.009, allocations: 0.9884 MB / 1.334 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/1.009, allocations: 114.2 kB / 1.334 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007295/1.017, allocations: 4.172 MB / 1.338 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004895/1.017, allocations: 0.6518 MB / 1.339 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000939/1.018, allocations: 0.979 MB / 1.34 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00983/1.028, allocations: 4.202 MB / 1.344 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.028, allocations: 4 kB / 1.344 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.934e-06/1.028, allocations: 0 / 1.344 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.459e-05/1.028, allocations: 2.094 kB / 1.344 GB, free: 0.5586 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.002953/1.031, allocations: 2.288 MB / 1.346 GB, free: 15.37 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/1.031, allocations: 10.84 kB / 1.346 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/1.031, allocations: 191.2 kB / 1.346 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/1.033, allocations: 485 kB / 1.347 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/1.035, allocations: 1.261 MB / 1.348 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/1.035, allocations: 96.92 kB / 1.348 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.035, allocations: 128.7 kB / 1.348 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/1.037, allocations: 1.71 MB / 1.35 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/1.037, allocations: 8.812 kB / 1.35 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.423e-05/1.037, allocations: 51.09 kB / 1.35 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.256e-05/1.037, allocations: 69.78 kB / 1.35 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/1.039, allocations: 1.22 MB / 1.351 GB, free: 14.38 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.005938/1.045, allocations: 7.57 MB / 1.359 GB, free: 9.824 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/1.045, allocations: 0.6725 MB / 1.359 GB, free: 9.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005696/1.046, allocations: 0.6136 MB / 1.36 GB, free: 9.492 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/1.047, allocations: 1.87 MB / 1.362 GB, free: 7.422 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.047, allocations: 52.11 kB / 1.362 GB, free: 7.379 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 3.327e-06/1.047, allocations: 3.938 kB / 1.362 GB, free: 7.375 MB / 1.014 GB Notification: Performance of matching and sorting (n=72): time 0.002019/1.049, allocations: 1.393 MB / 1.363 GB, free: 7.238 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/1.05, allocations: 302.4 kB / 1.364 GB, free: 6.891 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/1.051, allocations: 1.889 MB / 1.365 GB, free: 6.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.464e-05/1.052, allocations: 37.77 kB / 1.365 GB, free: 6.648 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005532/1.052, allocations: 0.7276 MB / 1.366 GB, free: 6.164 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/1.052, allocations: 251 kB / 1.366 GB, free: 5.973 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/1.052, allocations: 138.4 kB / 1.366 GB, free: 5.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/1.053, allocations: 325 kB / 1.367 GB, free: 5.598 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/1.053, allocations: 330.4 kB / 1.367 GB, free: 5.488 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/1.053, allocations: 0.5606 MB / 1.368 GB, free: 5.211 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008808/1.054, allocations: 0.8626 MB / 1.368 GB, free: 4.801 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.054, allocations: 7.188 kB / 1.369 GB, free: 4.797 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001208/1.056, allocations: 1.006 MB / 1.369 GB, free: 4.418 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.056, allocations: 9.25 kB / 1.369 GB, free: 4.418 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.056, allocations: 3.25 kB / 1.369 GB, free: 4.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.056, allocations: 9.312 kB / 1.37 GB, free: 4.418 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/1.056, allocations: 122.4 kB / 1.37 GB, free: 4.414 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/1.056, allocations: 15.3 kB / 1.37 GB, free: 4.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/1.057, allocations: 124.5 kB / 1.37 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.139e-05/1.057, allocations: 49.33 kB / 1.37 GB, free: 4.309 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.0005373/1.057, allocations: 455.1 kB / 1.37 GB, free: 4.047 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/1.058, allocations: 201.7 kB / 1.37 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/1.059, allocations: 1.078 MB / 1.371 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/1.059, allocations: 11.34 kB / 1.371 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.059, allocations: 9.625 kB / 1.372 GB, free: 3.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.059, allocations: 4.688 kB / 1.372 GB, free: 3.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/1.07, allocations: 8.943 MB / 1.38 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/1.07, allocations: 15.53 kB / 1.38 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/1.07, allocations: 145.6 kB / 1.38 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/1.07, allocations: 24.2 kB / 1.38 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/1.071, allocations: 39.7 kB / 1.38 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-05/1.071, allocations: 30.92 kB / 1.38 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/1.071, allocations: 31.09 kB / 1.381 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/1.072, allocations: 1.663 MB / 1.382 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000668/1.073, allocations: 412.5 kB / 1.383 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/1.073, allocations: 33.77 kB / 1.383 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000712/1.074, allocations: 32.75 kB / 1.383 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.074, allocations: 106.7 kB / 1.383 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/1.074, allocations: 54.58 kB / 1.383 GB, free: 12.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001625/1.076, allocations: 1.322 MB / 1.384 GB, free: 11.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.076, allocations: 0 / 1.384 GB, free: 11.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001672/1.077, allocations: 0.5305 MB / 1.385 GB, free: 11.38 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.004225/1.082, allocations: 3.011 MB / 1.388 GB, free: 9.191 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001218/1.083, allocations: 0.8663 MB / 1.388 GB, free: 8.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.083, allocations: 2.812 kB / 1.388 GB, free: 8.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005601/1.084, allocations: 489.1 kB / 1.389 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005728/1.089, allocations: 1.34 MB / 1.39 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/1.108, allocations: 15.62 MB / 1.405 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.109, allocations: 1.408 MB / 1.407 GB, free: 8.723 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001609/1.111, allocations: 482.6 kB / 1.407 GB, free: 8.246 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007749/1.112, allocations: 0.6594 MB / 1.408 GB, free: 7.586 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/1.112, allocations: 0 / 1.408 GB, free: 7.586 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7356/1.847, allocations: 60.87 MB / 1.467 GB, free: 11.36 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/12.28, allocations: 10.08 kB / 1.467 GB, free: 11.35 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