Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001261/0.001261, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001378/0.001378, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.385/1.385, 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 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.014/3.014, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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.BoundaryWithX_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_12_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.001892/0.001892, allocations: 68.83 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3072, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2206/0.5278, allocations: 189.6 MB / 1.512 GB, free: 3.199 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.5427, allocations: 11.23 MB / 1.523 GB, free: 7.941 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.5439, allocations: 63.38 kB / 1.523 GB, free: 7.879 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.5451, allocations: 0.5314 MB / 1.523 GB, free: 7.344 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004296/0.5494, allocations: 1.906 MB / 1.525 GB, free: 5.43 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.5537, allocations: 1.961 MB / 1.527 GB, free: 3.473 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003001/0.5567, allocations: 2.395 MB / 1.529 GB, free: 1.066 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.5581, allocations: 0.854 MB / 1.53 GB, free: 192 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006388/0.5644, allocations: 3.162 MB / 1.533 GB, free: 13.02 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.566, allocations: 0.6962 MB / 1.534 GB, free: 12.32 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002122/0.5662, allocations: 92 kB / 1.534 GB, free: 12.23 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005615/0.5718, allocations: 2.081 MB / 1.536 GB, free: 10.14 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006908/0.5725, allocations: 0.5531 MB / 1.537 GB, free: 9.586 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009048/0.5734, allocations: 0.5872 MB / 1.537 GB, free: 8.996 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00624/0.5797, allocations: 3.095 MB / 1.54 GB, free: 5.891 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5797, allocations: 0 / 1.54 GB, free: 5.891 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5797, allocations: 0 / 1.54 GB, free: 5.891 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.264e-05/0.5797, allocations: 0 / 1.54 GB, free: 5.891 MB / 1.232 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.002472/0.5822, allocations: 1.717 MB / 1.542 GB, free: 4.133 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.5822, allocations: 8.031 kB / 1.542 GB, free: 4.125 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.682e-05/0.5823, allocations: 34.06 kB / 1.542 GB, free: 4.09 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/0.5825, allocations: 172.7 kB / 1.542 GB, free: 3.91 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.5842, allocations: 382.7 kB / 1.543 GB, free: 3.535 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.5858, allocations: 0.8907 MB / 1.543 GB, free: 2.613 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-05/0.5859, allocations: 82.05 kB / 1.543 GB, free: 2.531 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.586, allocations: 104 kB / 1.544 GB, free: 2.43 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.5885, allocations: 1.985 MB / 1.546 GB, free: 232 kB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5885, allocations: 3.938 kB / 1.546 GB, free: 228 kB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.5886, allocations: 51.92 kB / 1.546 GB, free: 176 kB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.628e-05/0.5887, allocations: 61.64 kB / 1.546 GB, free: 116 kB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.5902, allocations: 1.025 MB / 1.547 GB, free: 15.08 MB / 1.248 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.005867/0.5961, allocations: 4.917 MB / 1.551 GB, free: 10.02 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.5967, allocations: 306.1 kB / 1.552 GB, free: 9.688 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.597, allocations: 239.3 kB / 1.552 GB, free: 9.441 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004805/0.5975, allocations: 119.8 kB / 1.552 GB, free: 9.324 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.901e-05/0.5976, allocations: 46.5 kB / 1.552 GB, free: 9.27 MB / 1.248 GB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/0.5976, allocations: 0 / 1.552 GB, free: 9.27 MB / 1.248 GB Notification: Performance of matching and sorting (n=28): time 0.001353/0.5989, allocations: 0.6763 MB / 1.553 GB, free: 8.586 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.686e-05/0.599, allocations: 140.4 kB / 1.553 GB, free: 8.418 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/0.6013, allocations: 1.678 MB / 1.555 GB, free: 6.73 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.6013, allocations: 33.7 kB / 1.555 GB, free: 6.691 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.6018, allocations: 0.5623 MB / 1.555 GB, free: 6.125 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.6019, allocations: 103.1 kB / 1.555 GB, free: 6.023 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.6021, allocations: 61.69 kB / 1.555 GB, free: 5.957 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6022, allocations: 314 kB / 1.556 GB, free: 5.645 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.6024, allocations: 159.9 kB / 1.556 GB, free: 5.488 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.6029, allocations: 422.7 kB / 1.556 GB, free: 5.008 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.6034, allocations: 412.2 kB / 1.557 GB, free: 4.574 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6034, allocations: 0 / 1.557 GB, free: 4.574 MB / 1.248 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008612/0.6042, allocations: 0.5439 MB / 1.557 GB, free: 4.023 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6043, allocations: 8 kB / 1.557 GB, free: 4.016 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.6043, allocations: 4 kB / 1.557 GB, free: 4.012 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.6043, allocations: 4.188 kB / 1.557 GB, free: 4.008 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.6045, allocations: 59.86 kB / 1.557 GB, free: 3.949 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.6046, allocations: 8.141 kB / 1.557 GB, free: 3.941 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.6051, allocations: 114.9 kB / 1.557 GB, free: 3.828 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.6052, allocations: 20 kB / 1.557 GB, free: 3.809 MB / 1.248 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.0004476/0.6056, allocations: 381.5 kB / 1.558 GB, free: 3.426 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.6059, allocations: 147.1 kB / 1.558 GB, free: 3.281 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005564/0.6064, allocations: 373.3 kB / 1.558 GB, free: 2.895 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.6064, allocations: 15.92 kB / 1.558 GB, free: 2.879 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6064, allocations: 4 kB / 1.558 GB, free: 2.875 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.6064, allocations: 4.078 kB / 1.558 GB, free: 2.871 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.6098, allocations: 2.233 MB / 1.56 GB, free: 0.5 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.6098, allocations: 12 kB / 1.56 GB, free: 500 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.61, allocations: 55.86 kB / 1.56 GB, free: 444 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.61, allocations: 8 kB / 1.56 GB, free: 436 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.61, allocations: 8.656 kB / 1.56 GB, free: 428 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.699e-06/0.61, allocations: 19.86 kB / 1.56 GB, free: 408 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.61, allocations: 11.94 kB / 1.56 GB, free: 396 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007859/0.6108, allocations: 0.6309 MB / 1.561 GB, free: 15.66 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.6112, allocations: 226.9 kB / 1.561 GB, free: 15.43 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.6114, allocations: 15.98 kB / 1.561 GB, free: 15.42 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.6118, allocations: 12 kB / 1.561 GB, free: 15.41 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.6118, allocations: 31.84 kB / 1.561 GB, free: 15.38 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.6118, allocations: 20 kB / 1.561 GB, free: 15.36 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001589/0.6134, allocations: 1.231 MB / 1.563 GB, free: 14.13 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6134, allocations: 0 / 1.563 GB, free: 14.13 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001069/0.6145, allocations: 331.4 kB / 1.563 GB, free: 13.8 MB / 1.264 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.002265/0.6168, allocations: 1.652 MB / 1.564 GB, free: 12.05 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.000571/0.6173, allocations: 339.7 kB / 1.565 GB, free: 11.71 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.85e-06/0.6173, allocations: 4 kB / 1.565 GB, free: 11.71 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.6176, allocations: 161.2 kB / 1.565 GB, free: 11.55 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003526/0.6211, allocations: 0.9274 MB / 1.566 GB, free: 10.66 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.6347, allocations: 10.51 MB / 1.576 GB, free: 15.8 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006946/0.6354, allocations: 0.6186 MB / 1.577 GB, free: 15.15 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008892/0.6363, allocations: 302.7 kB / 1.577 GB, free: 14.85 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005667/0.6368, allocations: 459.3 kB / 1.577 GB, free: 14.4 MB / 1.279 GB Notification: Performance of SimCode: time 6.11e-07/0.6368, allocations: 0 / 1.577 GB, free: 14.4 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.667/1.304, allocations: 47.54 MB / 1.624 GB, free: 267.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/15.48, allocations: 6.297 kB / 1.624 GB, free: 267.4 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.071077222935855]