Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001697/0.001697, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002009/0.002009, allocations: 219.8 kB / 23.03 MB, free: 4.922 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.013/3.013, allocations: 476.8 MB / 0.7715 GB, free: 3.855 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.BoundaryWithX_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_11_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.002019/0.002019, allocations: 66.38 kB / 1.118 GB, free: 39.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3689, allocations: 170 MB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2568/0.6257, allocations: 189.6 MB / 1.469 GB, free: 12.31 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.6417, allocations: 11.23 MB / 1.48 GB, free: 1.047 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/0.6432, allocations: 63.38 kB / 1.48 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.6445, allocations: 0.5236 MB / 1.481 GB, free: 468 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004872/0.6494, allocations: 1.905 MB / 1.483 GB, free: 14.55 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004823/0.6542, allocations: 1.969 MB / 1.485 GB, free: 12.58 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003278/0.6575, allocations: 2.387 MB / 1.487 GB, free: 10.19 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.6589, allocations: 0.8657 MB / 1.488 GB, free: 9.301 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.6604, allocations: 0.8522 MB / 1.489 GB, free: 8.445 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000979/0.6614, allocations: 0.708 MB / 1.489 GB, free: 7.734 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.6615, allocations: 91.94 kB / 1.489 GB, free: 7.645 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005118/0.6667, allocations: 2.333 MB / 1.492 GB, free: 5.305 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006606/0.6673, allocations: 0.5531 MB / 1.492 GB, free: 4.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007999/0.6681, allocations: 0.5833 MB / 1.493 GB, free: 4.164 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00505/0.6732, allocations: 3.088 MB / 1.496 GB, free: 1.066 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6732, allocations: 4 kB / 1.496 GB, free: 1.062 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6732, allocations: 3.938 kB / 1.496 GB, free: 1.059 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.6732, allocations: 0 / 1.496 GB, free: 1.059 MB / 1.186 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.002476/0.6757, allocations: 1.706 MB / 1.497 GB, free: 15.31 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.6757, allocations: 12.03 kB / 1.497 GB, free: 15.3 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.028e-05/0.6758, allocations: 30.06 kB / 1.497 GB, free: 15.27 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002054/0.676, allocations: 176.7 kB / 1.498 GB, free: 15.09 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.6777, allocations: 378.7 kB / 1.498 GB, free: 14.71 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.6794, allocations: 0.91 MB / 1.499 GB, free: 13.78 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.055e-05/0.6794, allocations: 74.06 kB / 1.499 GB, free: 13.7 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.6796, allocations: 100 kB / 1.499 GB, free: 13.61 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.6822, allocations: 1.988 MB / 1.501 GB, free: 11.39 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.6823, allocations: 4 kB / 1.501 GB, free: 11.39 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.6824, allocations: 51.92 kB / 1.501 GB, free: 11.34 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-05/0.6824, allocations: 61.64 kB / 1.501 GB, free: 11.28 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.684, allocations: 1.025 MB / 1.502 GB, free: 10.25 MB / 1.201 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.006114/0.6901, allocations: 4.917 MB / 1.507 GB, free: 5.191 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/0.6907, allocations: 302.2 kB / 1.507 GB, free: 4.859 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.691, allocations: 235.4 kB / 1.507 GB, free: 4.617 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/0.6915, allocations: 115.9 kB / 1.507 GB, free: 4.504 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.6915, allocations: 38.56 kB / 1.508 GB, free: 4.457 MB / 1.201 GB Notification: Performance of pre-optimization done (n=28): time 2.385e-06/0.6915, allocations: 0 / 1.508 GB, free: 4.457 MB / 1.201 GB Notification: Performance of matching and sorting (n=28): time 0.001405/0.6929, allocations: 0.6763 MB / 1.508 GB, free: 3.773 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.693, allocations: 140.4 kB / 1.508 GB, free: 3.605 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.6952, allocations: 1.678 MB / 1.51 GB, free: 1.918 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.6952, allocations: 37.7 kB / 1.51 GB, free: 1.875 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000558/0.6958, allocations: 0.5623 MB / 1.511 GB, free: 1.309 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 9.675e-05/0.6959, allocations: 103.1 kB / 1.511 GB, free: 1.207 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.696, allocations: 61.7 kB / 1.511 GB, free: 1.141 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6961, allocations: 314 kB / 1.511 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.6964, allocations: 163.9 kB / 1.511 GB, free: 0.668 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/0.6968, allocations: 432.4 kB / 1.512 GB, free: 184 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.6974, allocations: 408.9 kB / 1.512 GB, free: 15.75 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6974, allocations: 0 / 1.512 GB, free: 15.75 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008276/0.6982, allocations: 0.5472 MB / 1.512 GB, free: 15.2 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.6982, allocations: 4 kB / 1.513 GB, free: 15.19 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6982, allocations: 4 kB / 1.513 GB, free: 15.19 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.6982, allocations: 4 kB / 1.513 GB, free: 15.18 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.6985, allocations: 64.03 kB / 1.513 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.6985, allocations: 7.938 kB / 1.513 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.699, allocations: 114.9 kB / 1.513 GB, free: 15 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.6991, allocations: 19.94 kB / 1.513 GB, free: 14.98 MB / 1.217 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.0004938/0.6996, allocations: 385.5 kB / 1.513 GB, free: 14.59 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.6998, allocations: 143.1 kB / 1.513 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006287/0.7004, allocations: 381.4 kB / 1.514 GB, free: 14.06 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7004, allocations: 8.031 kB / 1.514 GB, free: 14.05 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.7004, allocations: 8 kB / 1.514 GB, free: 14.04 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.7004, allocations: 7.969 kB / 1.514 GB, free: 14.04 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003533/0.704, allocations: 2.245 MB / 1.516 GB, free: 11.65 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.704, allocations: 8.062 kB / 1.516 GB, free: 11.64 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.7042, allocations: 55.84 kB / 1.516 GB, free: 11.59 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.7042, allocations: 8 kB / 1.516 GB, free: 11.58 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.7042, allocations: 12 kB / 1.516 GB, free: 11.57 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.7042, allocations: 12.5 kB / 1.516 GB, free: 11.56 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/0.7042, allocations: 4 kB / 1.516 GB, free: 11.55 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007726/0.705, allocations: 0.64 MB / 1.517 GB, free: 10.82 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/0.7055, allocations: 226.9 kB / 1.517 GB, free: 10.59 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.7057, allocations: 15.98 kB / 1.517 GB, free: 10.58 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.706, allocations: 8 kB / 1.517 GB, free: 10.57 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.7061, allocations: 35.84 kB / 1.517 GB, free: 10.54 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.7061, allocations: 16 kB / 1.517 GB, free: 10.52 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00165/0.7078, allocations: 1.235 MB / 1.518 GB, free: 9.289 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7078, allocations: 0 / 1.518 GB, free: 9.289 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001049/0.7088, allocations: 331.4 kB / 1.518 GB, free: 8.965 MB / 1.217 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.002404/0.7112, allocations: 1.652 MB / 1.52 GB, free: 7.207 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006214/0.7119, allocations: 347.8 kB / 1.52 GB, free: 6.867 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.7119, allocations: 0 / 1.52 GB, free: 6.867 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.7121, allocations: 151.7 kB / 1.52 GB, free: 6.719 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/0.7158, allocations: 0.9273 MB / 1.521 GB, free: 5.824 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.7302, allocations: 10.52 MB / 1.532 GB, free: 10.96 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/0.7309, allocations: 0.6187 MB / 1.532 GB, free: 10.3 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009679/0.7319, allocations: 298.7 kB / 1.532 GB, free: 10.01 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005928/0.7325, allocations: 463.3 kB / 1.533 GB, free: 9.555 MB / 1.232 GB Notification: Performance of SimCode: time 1.072e-06/0.7325, allocations: 0 / 1.533 GB, free: 9.555 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09433/0.8268, allocations: 47.53 MB / 1.579 GB, free: 10.92 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.24, allocations: 10.08 kB / 1.579 GB, free: 10.91 MB / 1.279 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.695032609044574]