Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.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.BoundaryWithXi_in,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",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.008148/0.008147, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.001869/0.00187, allocations: 194.6 kB / 16.67 MB, free: 6.355 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.663/2.663, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3552, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 1.046/1.402, allocations: 214.1 MB / 1.375 GB, free: 1.691 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02116/1.423, allocations: 12.16 MB / 1.387 GB, free: 8.012 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/1.425, allocations: 43.66 kB / 1.387 GB, free: 7.992 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002181/1.428, allocations: 0.5102 MB / 1.388 GB, free: 7.527 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007375/1.435, allocations: 1.959 MB / 1.39 GB, free: 6.039 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005958/1.441, allocations: 1.93 MB / 1.391 GB, free: 4.629 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004194/1.445, allocations: 2.376 MB / 1.394 GB, free: 3.227 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/1.448, allocations: 1.211 MB / 1.395 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/1.45, allocations: 0.847 MB / 1.396 GB, free: 2.059 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/1.451, allocations: 0.6524 MB / 1.396 GB, free: 1.664 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000364/1.451, allocations: 88.41 kB / 1.396 GB, free: 1.664 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007436/1.459, allocations: 2.71 MB / 1.399 GB, free: 128 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008548/1.46, allocations: 0.5334 MB / 1.4 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002144/1.462, allocations: 0.7234 MB / 1.4 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00846/1.47, allocations: 3.097 MB / 1.403 GB, free: 13.44 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.47, allocations: 4 kB / 1.403 GB, free: 13.43 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.054e-06/1.47, allocations: 0 / 1.403 GB, free: 13.43 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001094/1.471, allocations: 0 / 1.403 GB, free: 13.43 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004538/1.475, allocations: 1.724 MB / 1.405 GB, free: 12.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/1.475, allocations: 9.344 kB / 1.405 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004812/1.476, allocations: 171.5 kB / 1.405 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/1.478, allocations: 371.1 kB / 1.406 GB, free: 11.8 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/1.48, allocations: 0.9701 MB / 1.407 GB, free: 11.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.596e-05/1.48, allocations: 78.36 kB / 1.407 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/1.48, allocations: 103.7 kB / 1.407 GB, free: 10.99 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/1.483, allocations: 1.495 MB / 1.408 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.434e-05/1.483, allocations: 10.09 kB / 1.408 GB, free: 10.01 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/1.483, allocations: 48.97 kB / 1.408 GB, free: 9.977 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.504e-05/1.484, allocations: 68.81 kB / 1.408 GB, free: 9.957 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/1.485, allocations: 1.016 MB / 1.409 GB, free: 9.465 MB / 1.076 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.007148/1.492, allocations: 5.802 MB / 1.415 GB, free: 4.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/1.493, allocations: 324.2 kB / 1.415 GB, free: 4.191 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/1.493, allocations: 249.2 kB / 1.415 GB, free: 4.051 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007595/1.494, allocations: 0.7105 MB / 1.416 GB, free: 3.262 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/1.494, allocations: 45.28 kB / 1.416 GB, free: 3.211 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 3.276e-06/1.494, allocations: 0 / 1.416 GB, free: 3.211 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001506/1.496, allocations: 0.6665 MB / 1.417 GB, free: 2.871 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/1.496, allocations: 138.4 kB / 1.417 GB, free: 2.707 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/1.498, allocations: 1.661 MB / 1.419 GB, free: 1.555 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/1.498, allocations: 29.7 kB / 1.419 GB, free: 1.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/1.499, allocations: 0.5541 MB / 1.419 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.519e-05/1.499, allocations: 94.56 kB / 1.419 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/1.499, allocations: 61.7 kB / 1.419 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.499, allocations: 325.9 kB / 1.42 GB, free: 488 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/1.499, allocations: 159.9 kB / 1.42 GB, free: 328 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/1.5, allocations: 298.2 kB / 1.42 GB, free: 15.99 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/1.5, allocations: 427.4 kB / 1.421 GB, free: 15.54 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/1.5, allocations: 4 kB / 1.421 GB, free: 15.54 MB / 1.092 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009071/1.501, allocations: 0.5587 MB / 1.421 GB, free: 14.97 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.501, allocations: 6.031 kB / 1.421 GB, free: 14.96 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.501, allocations: 4 kB / 1.421 GB, free: 14.96 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/1.501, allocations: 4 kB / 1.421 GB, free: 14.96 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/1.501, allocations: 63.84 kB / 1.421 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/1.501, allocations: 4.156 kB / 1.421 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/1.502, allocations: 110.7 kB / 1.421 GB, free: 14.78 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/1.502, allocations: 27.98 kB / 1.421 GB, free: 14.75 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0005103/1.503, allocations: 383.7 kB / 1.422 GB, free: 14.37 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003289/1.503, allocations: 134.3 kB / 1.422 GB, free: 14.24 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007644/1.504, allocations: 384.5 kB / 1.422 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/1.504, allocations: 4 kB / 1.422 GB, free: 13.83 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/1.504, allocations: 96 / 1.422 GB, free: 13.83 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/1.504, allocations: 11.92 kB / 1.422 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/1.508, allocations: 2.509 MB / 1.425 GB, free: 11.13 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.508, allocations: 8 kB / 1.425 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/1.508, allocations: 52.73 kB / 1.425 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/1.508, allocations: 4 kB / 1.425 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/1.508, allocations: 27.92 kB / 1.425 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/1.508, allocations: 8 kB / 1.425 GB, free: 11.03 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.508, allocations: 7.938 kB / 1.425 GB, free: 11.02 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007756/1.509, allocations: 0.6221 MB / 1.425 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005446/1.51, allocations: 287.2 kB / 1.426 GB, free: 10 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003149/1.51, allocations: 19.98 kB / 1.426 GB, free: 9.98 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/1.511, allocations: 8 kB / 1.426 GB, free: 9.973 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/1.511, allocations: 35.86 kB / 1.426 GB, free: 9.938 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/1.511, allocations: 12 kB / 1.426 GB, free: 9.926 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001719/1.512, allocations: 1.211 MB / 1.427 GB, free: 8.719 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.71e-07/1.512, allocations: 0 / 1.427 GB, free: 8.719 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001274/1.514, allocations: 319.8 kB / 1.427 GB, free: 8.406 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.002684/1.516, allocations: 1.673 MB / 1.429 GB, free: 6.637 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005996/1.517, allocations: 367.7 kB / 1.429 GB, free: 6.277 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.517, allocations: 4 kB / 1.429 GB, free: 6.273 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/1.517, allocations: 157.2 kB / 1.429 GB, free: 6.121 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003737/1.521, allocations: 0.9194 MB / 1.43 GB, free: 5.23 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/1.536, allocations: 10.36 MB / 1.44 GB, free: 10.51 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/1.537, allocations: 1.204 MB / 1.441 GB, free: 9.273 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001045/1.539, allocations: 298.6 kB / 1.442 GB, free: 8.977 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006534/1.539, allocations: 463.3 kB / 1.442 GB, free: 8.523 MB / 1.107 GB Notification: Performance of SimCode: time 6.71e-07/1.539, allocations: 3.938 kB / 1.442 GB, free: 8.52 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08573/1.625, allocations: 43.8 MB / 1.485 GB, free: 13.17 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/11.92, allocations: 11.75 kB / 1.485 GB, free: 13.16 MB / 1.154 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches