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.001245/0.001245, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001401/0.001401, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.33/1.33, allocations: 230.6 MB / 256 MB, free: 7.789 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.973/2.973, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_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.001926/0.001926, allocations: 63.91 kB / 1.186 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2948, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.216/0.5107, allocations: 189.7 MB / 1.549 GB, free: 15.66 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01511/0.5258, allocations: 11.24 MB / 1.56 GB, free: 4.387 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.527, allocations: 63.38 kB / 1.56 GB, free: 4.324 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.5283, allocations: 0.5275 MB / 1.56 GB, free: 3.793 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005549/0.5339, allocations: 1.914 MB / 1.562 GB, free: 1.871 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004601/0.5385, allocations: 1.951 MB / 1.564 GB, free: 15.93 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003071/0.5415, allocations: 2.371 MB / 1.566 GB, free: 13.55 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.5431, allocations: 0.8501 MB / 1.567 GB, free: 12.67 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006208/0.5493, allocations: 3.154 MB / 1.57 GB, free: 9.508 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.5505, allocations: 0.6729 MB / 1.571 GB, free: 8.832 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002375/0.5507, allocations: 96 kB / 1.571 GB, free: 8.738 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.5549, allocations: 2.057 MB / 1.573 GB, free: 6.676 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0006481/0.5556, allocations: 0.5492 MB / 1.574 GB, free: 6.125 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.5567, allocations: 0.5871 MB / 1.574 GB, free: 5.535 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005086/0.5617, allocations: 3.088 MB / 1.577 GB, free: 2.438 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5617, allocations: 3.938 kB / 1.577 GB, free: 2.434 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5617, allocations: 0 / 1.577 GB, free: 2.434 MB / 1.264 GB Notification: Performance of Transformations before backend: time 7.225e-05/0.5618, allocations: 0 / 1.577 GB, free: 2.434 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003051/0.5649, allocations: 1.706 MB / 1.579 GB, free: 0.6875 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5649, allocations: 12.03 kB / 1.579 GB, free: 0.6758 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002859/0.5652, allocations: 168.8 kB / 1.579 GB, free: 0.5 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.5669, allocations: 386.6 kB / 1.579 GB, free: 124 kB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.5688, allocations: 0.9062 MB / 1.58 GB, free: 15.18 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.891e-05/0.5689, allocations: 82.06 kB / 1.58 GB, free: 15.1 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/0.5691, allocations: 100 kB / 1.58 GB, free: 15 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/0.5718, allocations: 1.981 MB / 1.582 GB, free: 12.8 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.5718, allocations: 3.938 kB / 1.582 GB, free: 12.8 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.5719, allocations: 55.81 kB / 1.582 GB, free: 12.75 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.886e-05/0.572, allocations: 57.64 kB / 1.582 GB, free: 12.69 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.5736, allocations: 1.033 MB / 1.583 GB, free: 11.66 MB / 1.279 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.006062/0.5796, allocations: 4.914 MB / 1.588 GB, free: 6.598 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005794/0.5802, allocations: 302.2 kB / 1.589 GB, free: 6.266 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.5805, allocations: 239.4 kB / 1.589 GB, free: 6.02 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004266/0.5809, allocations: 115.8 kB / 1.589 GB, free: 5.906 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.581, allocations: 42.56 kB / 1.589 GB, free: 5.855 MB / 1.279 GB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.581, allocations: 0 / 1.589 GB, free: 5.855 MB / 1.279 GB Notification: Performance of matching and sorting (n=28): time 0.001294/0.5823, allocations: 0.6802 MB / 1.59 GB, free: 5.168 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.5824, allocations: 136.5 kB / 1.59 GB, free: 5.004 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.5844, allocations: 1.678 MB / 1.591 GB, free: 3.316 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.5844, allocations: 33.7 kB / 1.591 GB, free: 3.277 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005311/0.585, allocations: 0.5623 MB / 1.592 GB, free: 2.711 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 8.197e-05/0.585, allocations: 103.1 kB / 1.592 GB, free: 2.609 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.5852, allocations: 65.64 kB / 1.592 GB, free: 2.539 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5853, allocations: 322.1 kB / 1.592 GB, free: 2.219 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.5855, allocations: 159.9 kB / 1.593 GB, free: 2.062 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.5859, allocations: 435.1 kB / 1.593 GB, free: 1.57 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.5864, allocations: 400.9 kB / 1.593 GB, free: 1.148 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5864, allocations: 0 / 1.593 GB, free: 1.148 MB / 1.279 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007462/0.5872, allocations: 0.5511 MB / 1.594 GB, free: 0.5898 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5872, allocations: 8 kB / 1.594 GB, free: 0.582 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5872, allocations: 4.094 kB / 1.594 GB, free: 0.5781 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.5872, allocations: 7.984 kB / 1.594 GB, free: 0.5703 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.5874, allocations: 51.92 kB / 1.594 GB, free: 0.5195 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.5874, allocations: 15.86 kB / 1.594 GB, free: 0.5039 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.5879, allocations: 103 kB / 1.594 GB, free: 412 kB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.588, allocations: 19.98 kB / 1.594 GB, free: 392 kB / 1.279 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.000475/0.5884, allocations: 386.5 kB / 1.594 GB, free: 15.99 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.5887, allocations: 147 kB / 1.595 GB, free: 15.85 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005774/0.5892, allocations: 376.8 kB / 1.595 GB, free: 15.46 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.5892, allocations: 4 kB / 1.595 GB, free: 15.46 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.5892, allocations: 11.88 kB / 1.595 GB, free: 15.45 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5893, allocations: 0 / 1.595 GB, free: 15.45 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003338/0.5926, allocations: 2.245 MB / 1.597 GB, free: 13.06 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.5926, allocations: 11.94 kB / 1.597 GB, free: 13.05 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.5928, allocations: 47.92 kB / 1.597 GB, free: 13 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.5928, allocations: 8 kB / 1.597 GB, free: 13 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.5928, allocations: 16.06 kB / 1.597 GB, free: 12.98 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.5928, allocations: 15.92 kB / 1.597 GB, free: 12.96 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.5928, allocations: 4 kB / 1.597 GB, free: 12.96 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007393/0.5936, allocations: 0.6396 MB / 1.598 GB, free: 12.22 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/0.5941, allocations: 230.9 kB / 1.598 GB, free: 12 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.5942, allocations: 8 kB / 1.598 GB, free: 11.99 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.5945, allocations: 12 kB / 1.598 GB, free: 11.98 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.5946, allocations: 35.84 kB / 1.598 GB, free: 11.94 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.5946, allocations: 19.98 kB / 1.598 GB, free: 11.92 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001592/0.5962, allocations: 1.219 MB / 1.599 GB, free: 10.71 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.5962, allocations: 4 kB / 1.599 GB, free: 10.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0008819/0.5971, allocations: 339.3 kB / 1.6 GB, free: 10.37 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.002129/0.5992, allocations: 1.662 MB / 1.601 GB, free: 8.605 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0005623/0.5998, allocations: 336 kB / 1.602 GB, free: 8.277 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5998, allocations: 7.938 kB / 1.602 GB, free: 8.27 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.6, allocations: 156.8 kB / 1.602 GB, free: 8.117 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/0.6034, allocations: 0.925 MB / 1.603 GB, free: 7.223 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5478/1.151, allocations: 10.51 MB / 1.613 GB, free: 244.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007168/1.152, allocations: 0.6129 MB / 1.614 GB, free: 244.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008772/1.153, allocations: 299.5 kB / 1.614 GB, free: 244.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/1.153, allocations: 463.3 kB / 1.614 GB, free: 244.2 MB / 1.295 GB Notification: Performance of SimCode: time 7.91e-07/1.153, allocations: 0 / 1.614 GB, free: 244.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07836/1.232, allocations: 48.21 MB / 1.661 GB, free: 223 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.93, allocations: 6.406 kB / 1.661 GB, free: 223 MB / 1.295 GB " [Timeout remaining time 287] (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: 19.10017847782001]