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.001208/0.001208, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001349/0.001349, allocations: 221.7 kB / 23.05 MB, free: 5.074 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.343/1.343, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] 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 2.929/2.929, allocations: 0.49 GB / 0.7959 GB, free: 33.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="cs",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.001868/0.001868, allocations: 66.69 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3028, allocations: 176.1 MB / 1.327 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2422/0.5449, allocations: 218.3 MB / 1.54 GB, free: 6.875 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.5604, allocations: 12.28 MB / 1.552 GB, free: 10.56 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.5616, allocations: 63.38 kB / 1.552 GB, free: 10.5 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.5628, allocations: 0.5196 MB / 1.552 GB, free: 9.977 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004374/0.5672, allocations: 1.995 MB / 1.554 GB, free: 7.973 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004298/0.5715, allocations: 2.013 MB / 1.556 GB, free: 5.965 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.002889/0.5744, allocations: 2.426 MB / 1.559 GB, free: 3.527 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.5756, allocations: 0.846 MB / 1.56 GB, free: 2.656 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005963/0.5816, allocations: 3.143 MB / 1.563 GB, free: 15.5 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.5826, allocations: 0.6924 MB / 1.563 GB, free: 14.81 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.5827, allocations: 88 kB / 1.563 GB, free: 14.72 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004566/0.5873, allocations: 2.662 MB / 1.566 GB, free: 12.05 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.00051/0.5878, allocations: 0.5453 MB / 1.567 GB, free: 11.51 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.000748/0.5885, allocations: 0.727 MB / 1.567 GB, free: 10.78 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004279/0.5928, allocations: 3.107 MB / 1.57 GB, free: 7.66 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.5928, allocations: 0 / 1.57 GB, free: 7.66 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5928, allocations: 0 / 1.57 GB, free: 7.66 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.5928, allocations: 0 / 1.57 GB, free: 7.66 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.002285/0.5951, allocations: 1.702 MB / 1.572 GB, free: 5.918 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.5952, allocations: 12.03 kB / 1.572 GB, free: 5.906 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.451e-05/0.5952, allocations: 34.03 kB / 1.572 GB, free: 5.871 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.5954, allocations: 168.6 kB / 1.572 GB, free: 5.695 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.597, allocations: 378.7 kB / 1.572 GB, free: 5.324 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.5985, allocations: 0.8945 MB / 1.573 GB, free: 4.398 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/0.5985, allocations: 74.03 kB / 1.573 GB, free: 4.324 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.5987, allocations: 103.9 kB / 1.574 GB, free: 4.223 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.6007, allocations: 1.516 MB / 1.575 GB, free: 2.598 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.6008, allocations: 7.875 kB / 1.575 GB, free: 2.59 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.673e-05/0.6008, allocations: 47.94 kB / 1.575 GB, free: 2.543 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.96e-05/0.6009, allocations: 57.48 kB / 1.575 GB, free: 2.488 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.6023, allocations: 1.017 MB / 1.576 GB, free: 1.473 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.005972/0.6083, allocations: 5.617 MB / 1.582 GB, free: 11.58 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/0.6088, allocations: 314.2 kB / 1.582 GB, free: 11.24 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.6091, allocations: 235.4 kB / 1.582 GB, free: 11 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004137/0.6095, allocations: 119.9 kB / 1.582 GB, free: 10.88 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.6096, allocations: 34.56 kB / 1.582 GB, free: 10.84 MB / 1.279 GB Notification: Performance of pre-optimization done (n=28): time 2.004e-06/0.6096, allocations: 8 kB / 1.582 GB, free: 10.83 MB / 1.279 GB Notification: Performance of matching and sorting (n=28): time 0.001264/0.6108, allocations: 0.6724 MB / 1.583 GB, free: 10.15 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.6109, allocations: 136.5 kB / 1.583 GB, free: 9.984 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.6128, allocations: 1.658 MB / 1.585 GB, free: 8.316 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.6129, allocations: 33.7 kB / 1.585 GB, free: 8.277 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005071/0.6134, allocations: 0.5544 MB / 1.585 GB, free: 7.719 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 8.299e-05/0.6135, allocations: 99.16 kB / 1.585 GB, free: 7.621 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.6136, allocations: 73.64 kB / 1.585 GB, free: 7.543 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6137, allocations: 317.9 kB / 1.586 GB, free: 7.227 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.6139, allocations: 163.9 kB / 1.586 GB, free: 7.066 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.6143, allocations: 290.1 kB / 1.586 GB, free: 6.746 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.6148, allocations: 429.9 kB / 1.587 GB, free: 6.289 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.6148, allocations: 8.062 kB / 1.587 GB, free: 6.281 MB / 1.279 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007979/0.6156, allocations: 0.5636 MB / 1.587 GB, free: 5.711 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.6156, allocations: 8 kB / 1.587 GB, free: 5.703 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.6156, allocations: 8.141 kB / 1.587 GB, free: 5.695 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.6156, allocations: 4 kB / 1.587 GB, free: 5.691 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.6159, allocations: 55.92 kB / 1.587 GB, free: 5.637 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.6159, allocations: 7.984 kB / 1.587 GB, free: 5.629 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.6163, allocations: 111 kB / 1.587 GB, free: 5.52 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.6164, allocations: 23.94 kB / 1.587 GB, free: 5.496 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.0004489/0.6168, allocations: 381.5 kB / 1.588 GB, free: 5.113 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.617, allocations: 147.1 kB / 1.588 GB, free: 4.969 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/0.6176, allocations: 376.7 kB / 1.588 GB, free: 4.578 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6176, allocations: 4 kB / 1.588 GB, free: 4.574 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6176, allocations: 3.938 kB / 1.588 GB, free: 4.57 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.6176, allocations: 3.984 kB / 1.588 GB, free: 4.566 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.6208, allocations: 2.338 MB / 1.59 GB, free: 2.09 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.6209, allocations: 8 kB / 1.59 GB, free: 2.082 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.621, allocations: 51.86 kB / 1.591 GB, free: 2.031 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.6211, allocations: 12.03 kB / 1.591 GB, free: 2.02 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.6211, allocations: 19.97 kB / 1.591 GB, free: 2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/0.6211, allocations: 8 kB / 1.591 GB, free: 1.992 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.6211, allocations: 12.41 kB / 1.591 GB, free: 1.98 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.6219, allocations: 0.6309 MB / 1.591 GB, free: 1.25 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.6224, allocations: 226.9 kB / 1.591 GB, free: 1.027 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.6225, allocations: 12 kB / 1.591 GB, free: 1.016 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.6229, allocations: 12 kB / 1.591 GB, free: 1.004 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.623, allocations: 31.84 kB / 1.591 GB, free: 0.9727 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.623, allocations: 23.98 kB / 1.591 GB, free: 0.9492 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001538/0.6245, allocations: 1.207 MB / 1.593 GB, free: 15.75 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.6245, allocations: 0 / 1.593 GB, free: 15.75 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001014/0.6256, allocations: 331.4 kB / 1.593 GB, free: 15.42 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.002259/0.6278, allocations: 1.652 MB / 1.595 GB, free: 13.67 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0006034/0.6284, allocations: 347.9 kB / 1.595 GB, free: 13.33 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6284, allocations: 4.125 kB / 1.595 GB, free: 13.32 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.6286, allocations: 151.7 kB / 1.595 GB, free: 13.18 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003819/0.6324, allocations: 0.9346 MB / 1.596 GB, free: 12.28 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.6462, allocations: 10.42 MB / 1.606 GB, free: 1.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009244/0.6472, allocations: 1.204 MB / 1.607 GB, free: 272 kB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.5442/1.191, allocations: 292.4 kB / 1.608 GB, free: 279.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/1.192, allocations: 461.5 kB / 1.608 GB, free: 279.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.102e-06/1.192, allocations: 3.719 kB / 1.608 GB, free: 279.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07832/1.27, allocations: 44.25 MB / 1.651 GB, free: 260.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.82, allocations: 3.938 kB / 1.651 GB, free: 260.3 MB / 1.295 GB " [Timeout remaining time 286] (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: 20.185048890998587]