Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 107.6 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00219/0.00219, allocations: 212.9 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 252.8 MB, free: 9 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.028/3.028, allocations: 0.49 GB / 0.7916 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 67.45 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3353, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2693/0.6046, allocations: 217.9 MB / 1.534 GB, free: 8.664 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0197/0.6243, allocations: 12.22 MB / 1.545 GB, free: 12.42 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.626, allocations: 63.38 kB / 1.546 GB, free: 12.36 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.6278, allocations: 0.5158 MB / 1.546 GB, free: 11.84 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005862/0.6337, allocations: 1.968 MB / 1.548 GB, free: 9.859 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00528/0.639, allocations: 1.939 MB / 1.55 GB, free: 7.926 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003556/0.6425, allocations: 2.364 MB / 1.552 GB, free: 5.551 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.6443, allocations: 0.9821 MB / 1.553 GB, free: 4.547 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006657/0.651, allocations: 3.104 MB / 1.556 GB, free: 1.434 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.6523, allocations: 0.6924 MB / 1.557 GB, free: 0.7383 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002873/0.6525, allocations: 92 kB / 1.557 GB, free: 0.6484 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005416/0.658, allocations: 2.619 MB / 1.559 GB, free: 14.02 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0007441/0.6587, allocations: 0.5414 MB / 1.56 GB, free: 13.48 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.66, allocations: 0.7309 MB / 1.561 GB, free: 12.75 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005871/0.6659, allocations: 3.107 MB / 1.564 GB, free: 9.629 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6659, allocations: 0 / 1.564 GB, free: 9.629 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6659, allocations: 0 / 1.564 GB, free: 9.629 MB / 1.264 GB Notification: Performance of Transformations before backend: time 8.107e-05/0.666, allocations: 0 / 1.564 GB, free: 9.629 MB / 1.264 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.003441/0.6694, allocations: 1.785 MB / 1.565 GB, free: 7.785 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6695, allocations: 11.98 kB / 1.566 GB, free: 7.773 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003223/0.6698, allocations: 164.6 kB / 1.566 GB, free: 7.602 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/0.6718, allocations: 382.6 kB / 1.566 GB, free: 7.227 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.6738, allocations: 0.9667 MB / 1.567 GB, free: 6.219 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-05/0.6738, allocations: 74.03 kB / 1.567 GB, free: 6.145 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.674, allocations: 100 kB / 1.567 GB, free: 6.047 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/0.6767, allocations: 1.517 MB / 1.569 GB, free: 4.418 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.6768, allocations: 3.938 kB / 1.569 GB, free: 4.414 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.6769, allocations: 47.94 kB / 1.569 GB, free: 4.367 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.241e-05/0.677, allocations: 65.53 kB / 1.569 GB, free: 4.305 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.6786, allocations: 1.017 MB / 1.57 GB, free: 3.289 MB / 1.264 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.007598/0.6862, allocations: 5.822 MB / 1.575 GB, free: 13.16 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007162/0.687, allocations: 326.2 kB / 1.576 GB, free: 12.8 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.6873, allocations: 231.3 kB / 1.576 GB, free: 12.56 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008085/0.6881, allocations: 0.7078 MB / 1.577 GB, free: 11.71 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.6881, allocations: 42.56 kB / 1.577 GB, free: 11.66 MB / 1.279 GB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.6881, allocations: 0 / 1.577 GB, free: 11.66 MB / 1.279 GB Notification: Performance of matching and sorting (n=28): time 0.001531/0.6897, allocations: 0.6802 MB / 1.577 GB, free: 10.97 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.6898, allocations: 132.5 kB / 1.577 GB, free: 10.81 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.6922, allocations: 1.658 MB / 1.579 GB, free: 9.141 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.6923, allocations: 37.83 kB / 1.579 GB, free: 9.098 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005644/0.6928, allocations: 0.5465 MB / 1.58 GB, free: 8.547 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.693, allocations: 107 kB / 1.58 GB, free: 8.441 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.6931, allocations: 65.7 kB / 1.58 GB, free: 8.371 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.6933, allocations: 321.9 kB / 1.58 GB, free: 8.051 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.6935, allocations: 163.9 kB / 1.58 GB, free: 7.891 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.694, allocations: 294.6 kB / 1.581 GB, free: 7.566 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.6946, allocations: 426.5 kB / 1.581 GB, free: 7.113 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6946, allocations: 0 / 1.581 GB, free: 7.113 MB / 1.279 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009752/0.6956, allocations: 0.5784 MB / 1.582 GB, free: 6.527 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.6956, allocations: 8 kB / 1.582 GB, free: 6.52 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6956, allocations: 0 / 1.582 GB, free: 6.52 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6956, allocations: 4 kB / 1.582 GB, free: 6.516 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.6959, allocations: 59.91 kB / 1.582 GB, free: 6.457 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.6959, allocations: 4 kB / 1.582 GB, free: 6.453 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/0.6965, allocations: 111 kB / 1.582 GB, free: 6.344 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.6966, allocations: 20 kB / 1.582 GB, free: 6.324 MB / 1.279 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.0005525/0.6971, allocations: 389.6 kB / 1.582 GB, free: 5.934 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.6974, allocations: 143.1 kB / 1.582 GB, free: 5.793 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006943/0.6981, allocations: 380.7 kB / 1.583 GB, free: 5.398 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.6981, allocations: 4 kB / 1.583 GB, free: 5.395 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6981, allocations: 0 / 1.583 GB, free: 5.395 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6981, allocations: 4 kB / 1.583 GB, free: 5.391 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.7023, allocations: 2.517 MB / 1.585 GB, free: 2.691 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.7023, allocations: 8.062 kB / 1.585 GB, free: 2.684 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.7025, allocations: 51.86 kB / 1.585 GB, free: 2.633 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.7025, allocations: 11.94 kB / 1.585 GB, free: 2.621 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.7025, allocations: 15.98 kB / 1.585 GB, free: 2.605 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.7025, allocations: 8.938 kB / 1.585 GB, free: 2.598 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.7025, allocations: 15.94 kB / 1.585 GB, free: 2.582 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008492/0.7034, allocations: 0.6192 MB / 1.586 GB, free: 1.863 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005293/0.7039, allocations: 304 kB / 1.586 GB, free: 1.547 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.7042, allocations: 11.98 kB / 1.586 GB, free: 1.535 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.7046, allocations: 12 kB / 1.586 GB, free: 1.523 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.7047, allocations: 35.95 kB / 1.586 GB, free: 1.488 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.7047, allocations: 19.98 kB / 1.586 GB, free: 1.469 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001875/0.7066, allocations: 1.207 MB / 1.587 GB, free: 272 kB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.7066, allocations: 0 / 1.587 GB, free: 272 kB / 1.279 GB Notification: Performance of remove unused functions: time 0.001199/0.7078, allocations: 331.4 kB / 1.588 GB, free: 15.94 MB / 1.295 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.002669/0.7105, allocations: 1.658 MB / 1.589 GB, free: 14.18 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0006725/0.7111, allocations: 367.6 kB / 1.59 GB, free: 13.82 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7111, allocations: 0 / 1.59 GB, free: 13.82 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.7114, allocations: 153.3 kB / 1.59 GB, free: 13.67 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004083/0.7155, allocations: 0.9177 MB / 1.591 GB, free: 12.78 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/0.7338, allocations: 10.42 MB / 1.601 GB, free: 1.996 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.7349, allocations: 1.193 MB / 1.602 GB, free: 0.7734 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001042/0.736, allocations: 298.7 kB / 1.602 GB, free: 488 kB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006508/0.7366, allocations: 467.2 kB / 1.603 GB, free: 20 kB / 1.295 GB Notification: Performance of SimCode: time 1.082e-06/0.7366, allocations: 0 / 1.603 GB, free: 20 kB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7573/1.494, allocations: 43.96 MB / 1.646 GB, free: 262.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/11.79, allocations: 10.91 kB / 1.646 GB, free: 262.1 MB / 1.295 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.274504316970706]