Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.001379/0.001379, 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.00154/0.00154, allocations: 218.9 kB / 23.04 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.331/1.331, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.886/2.886, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_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.001765/0.001765, allocations: 66.11 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2908, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2297/0.5206, allocations: 218.4 MB / 1.559 GB, free: 5.293 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.5361, allocations: 12.29 MB / 1.571 GB, free: 8.969 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.5374, allocations: 63.38 kB / 1.571 GB, free: 8.906 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.5386, allocations: 0.5236 MB / 1.571 GB, free: 8.379 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.004364/0.543, allocations: 1.98 MB / 1.573 GB, free: 6.391 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.00443/0.5474, allocations: 2.022 MB / 1.575 GB, free: 4.375 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003032/0.5504, allocations: 2.402 MB / 1.577 GB, free: 1.961 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.5517, allocations: 0.8501 MB / 1.578 GB, free: 1.09 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006316/0.558, allocations: 3.143 MB / 1.581 GB, free: 13.94 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.5591, allocations: 0.6885 MB / 1.582 GB, free: 13.25 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.5592, allocations: 88 kB / 1.582 GB, free: 13.16 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/0.564, allocations: 2.663 MB / 1.585 GB, free: 10.49 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00054/0.5645, allocations: 0.5492 MB / 1.585 GB, free: 9.941 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0008241/0.5654, allocations: 0.7386 MB / 1.586 GB, free: 9.199 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.004457/0.5698, allocations: 3.126 MB / 1.589 GB, free: 6.062 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5698, allocations: 4 kB / 1.589 GB, free: 6.059 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5698, allocations: 0 / 1.589 GB, free: 6.059 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.01e-05/0.5698, allocations: 3.938 kB / 1.589 GB, free: 6.055 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002383/0.5722, allocations: 1.709 MB / 1.591 GB, free: 4.305 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.5723, allocations: 12.03 kB / 1.591 GB, free: 4.293 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.414e-05/0.5723, allocations: 26.06 kB / 1.591 GB, free: 4.266 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001906/0.5725, allocations: 176.7 kB / 1.591 GB, free: 4.082 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.5741, allocations: 382.7 kB / 1.591 GB, free: 3.707 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.5756, allocations: 0.9061 MB / 1.592 GB, free: 2.77 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/0.5757, allocations: 82.06 kB / 1.592 GB, free: 2.688 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.5758, allocations: 104 kB / 1.592 GB, free: 2.586 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.5779, allocations: 1.529 MB / 1.594 GB, free: 0.9453 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.578, allocations: 3.938 kB / 1.594 GB, free: 0.9414 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.5781, allocations: 51.94 kB / 1.594 GB, free: 0.8906 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-05/0.5781, allocations: 57.64 kB / 1.594 GB, free: 0.8359 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.5796, allocations: 1.021 MB / 1.595 GB, free: 15.82 MB / 1.295 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.006048/0.5856, allocations: 5.653 MB / 1.6 GB, free: 9.891 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/0.5862, allocations: 318.2 kB / 1.601 GB, free: 9.543 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.5865, allocations: 235.4 kB / 1.601 GB, free: 9.301 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004195/0.5869, allocations: 115.9 kB / 1.601 GB, free: 9.188 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.5869, allocations: 38.56 kB / 1.601 GB, free: 9.141 MB / 1.295 GB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.5869, allocations: 0 / 1.601 GB, free: 9.141 MB / 1.295 GB Notification: Performance of matching and sorting (n=28): time 0.001345/0.5883, allocations: 0.6842 MB / 1.602 GB, free: 8.449 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/0.5884, allocations: 140.4 kB / 1.602 GB, free: 8.281 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.5904, allocations: 1.678 MB / 1.603 GB, free: 6.594 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.5905, allocations: 33.7 kB / 1.604 GB, free: 6.555 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/0.591, allocations: 0.5623 MB / 1.604 GB, free: 5.988 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.5911, allocations: 99.16 kB / 1.604 GB, free: 5.891 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.5912, allocations: 61.7 kB / 1.604 GB, free: 5.824 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5913, allocations: 318 kB / 1.605 GB, free: 5.508 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.5916, allocations: 159.9 kB / 1.605 GB, free: 5.352 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.5919, allocations: 268.4 kB / 1.605 GB, free: 5.059 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/0.5924, allocations: 404.9 kB / 1.605 GB, free: 4.633 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5924, allocations: 4 kB / 1.605 GB, free: 4.629 MB / 1.295 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007573/0.5931, allocations: 0.5511 MB / 1.606 GB, free: 4.07 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5932, allocations: 8 kB / 1.606 GB, free: 4.062 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5932, allocations: 0 / 1.606 GB, free: 4.062 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.5932, allocations: 4 kB / 1.606 GB, free: 4.059 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.5934, allocations: 59.84 kB / 1.606 GB, free: 4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.5934, allocations: 7.938 kB / 1.606 GB, free: 3.992 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.5939, allocations: 114.9 kB / 1.606 GB, free: 3.879 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.5939, allocations: 20 kB / 1.606 GB, free: 3.859 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004419/0.5944, allocations: 385.7 kB / 1.606 GB, free: 3.473 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.5946, allocations: 147 kB / 1.607 GB, free: 3.328 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005621/0.5952, allocations: 388.9 kB / 1.607 GB, free: 2.926 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5952, allocations: 7.938 kB / 1.607 GB, free: 2.918 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5952, allocations: 0 / 1.607 GB, free: 2.918 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.5952, allocations: 3.984 kB / 1.607 GB, free: 2.914 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/0.5984, allocations: 2.354 MB / 1.609 GB, free: 432 kB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5984, allocations: 4.094 kB / 1.609 GB, free: 428 kB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.5986, allocations: 51.98 kB / 1.609 GB, free: 376 kB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.5986, allocations: 11.98 kB / 1.609 GB, free: 364 kB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.5987, allocations: 12.66 kB / 1.609 GB, free: 352 kB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.5987, allocations: 11.94 kB / 1.609 GB, free: 340 kB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.5987, allocations: 19.92 kB / 1.609 GB, free: 320 kB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5477/1.146, allocations: 0.6212 MB / 1.61 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/1.147, allocations: 224.6 kB / 1.61 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/1.147, allocations: 16.64 kB / 1.61 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/1.147, allocations: 9.594 kB / 1.61 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/1.147, allocations: 36.08 kB / 1.61 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/1.148, allocations: 19.55 kB / 1.61 GB, free: 264.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001635/1.149, allocations: 1.222 MB / 1.611 GB, free: 264.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.149, allocations: 0 / 1.611 GB, free: 264.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009491/1.15, allocations: 331.2 kB / 1.612 GB, free: 264.5 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.001951/1.152, allocations: 1.653 MB / 1.613 GB, free: 263.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0005216/1.153, allocations: 346.2 kB / 1.614 GB, free: 263.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.153, allocations: 8.406 kB / 1.614 GB, free: 263.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/1.153, allocations: 153.9 kB / 1.614 GB, free: 263.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/1.156, allocations: 0.918 MB / 1.615 GB, free: 263.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.169, allocations: 10.53 MB / 1.625 GB, free: 258.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/1.17, allocations: 1.202 MB / 1.626 GB, free: 258 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.000992/1.171, allocations: 302.3 kB / 1.627 GB, free: 258 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/1.171, allocations: 460.7 kB / 1.627 GB, free: 257.7 MB / 1.295 GB Notification: Performance of SimCode: time 9.32e-07/1.171, allocations: 0 / 1.627 GB, free: 257.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06544/1.236, allocations: 44.47 MB / 1.67 GB, free: 229.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.93, allocations: 4.062 kB / 1.67 GB, free: 229.6 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.16599332401529]