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.001318/0.001318, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001362/0.001362, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.47/1.47, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.807/2.807, allocations: 476.7 MB / 0.7678 GB, free: 9.32 MB / 0.6075 GB " [Timeout remaining time 177] 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.002143/0.002143, allocations: 63.89 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9349/0.937, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.3473/1.284, allocations: 217.8 MB / 1.492 GB, free: 1.945 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01842/1.303, allocations: 12.23 MB / 1.504 GB, free: 5.688 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/1.304, allocations: 63.38 kB / 1.504 GB, free: 5.625 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/1.306, allocations: 0.5196 MB / 1.504 GB, free: 5.102 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005477/1.311, allocations: 1.962 MB / 1.506 GB, free: 3.133 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005038/1.316, allocations: 1.932 MB / 1.508 GB, free: 1.207 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003659/1.32, allocations: 2.34 MB / 1.51 GB, free: 14.86 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/1.322, allocations: 1.01 MB / 1.511 GB, free: 13.83 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/1.325, allocations: 0.8483 MB / 1.512 GB, free: 12.98 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/1.326, allocations: 0.7002 MB / 1.513 GB, free: 12.27 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003383/1.327, allocations: 92 kB / 1.513 GB, free: 12.18 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006763/1.333, allocations: 2.879 MB / 1.516 GB, free: 9.297 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007697/1.334, allocations: 0.5492 MB / 1.516 GB, free: 8.746 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001055/1.335, allocations: 0.7308 MB / 1.517 GB, free: 8.012 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005899/1.341, allocations: 3.123 MB / 1.52 GB, free: 4.879 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.341, allocations: 0 / 1.52 GB, free: 4.879 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.874e-06/1.341, allocations: 0 / 1.52 GB, free: 4.879 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.632e-05/1.341, allocations: 0 / 1.52 GB, free: 4.879 MB / 1.201 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.002776/1.344, allocations: 1.8 MB / 1.522 GB, free: 3.02 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.344, allocations: 12.03 kB / 1.522 GB, free: 3.008 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.626e-05/1.344, allocations: 30.05 kB / 1.522 GB, free: 2.977 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/1.344, allocations: 180.7 kB / 1.522 GB, free: 2.789 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/1.346, allocations: 374.7 kB / 1.522 GB, free: 2.422 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/1.348, allocations: 0.9628 MB / 1.523 GB, free: 1.418 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/1.348, allocations: 78.06 kB / 1.523 GB, free: 1.34 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/1.348, allocations: 103.9 kB / 1.523 GB, free: 1.238 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/1.35, allocations: 1.533 MB / 1.525 GB, free: 15.59 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/1.35, allocations: 3.938 kB / 1.525 GB, free: 15.59 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.35, allocations: 55.94 kB / 1.525 GB, free: 15.54 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-05/1.35, allocations: 57.55 kB / 1.525 GB, free: 15.48 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/1.352, allocations: 1.025 MB / 1.526 GB, free: 14.46 MB / 1.217 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.006845/1.359, allocations: 5.865 MB / 1.532 GB, free: 8.281 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/1.359, allocations: 306.2 kB / 1.532 GB, free: 7.945 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/1.36, allocations: 243.4 kB / 1.532 GB, free: 7.695 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008264/1.361, allocations: 0.7039 MB / 1.533 GB, free: 6.844 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/1.361, allocations: 46.81 kB / 1.533 GB, free: 6.789 MB / 1.217 GB Notification: Performance of pre-optimization done (n=28): time 2.535e-06/1.361, allocations: 0 / 1.533 GB, free: 6.789 MB / 1.217 GB Notification: Performance of matching and sorting (n=28): time 0.001453/1.362, allocations: 0.6798 MB / 1.534 GB, free: 6.102 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/1.362, allocations: 144.4 kB / 1.534 GB, free: 5.93 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/1.365, allocations: 1.682 MB / 1.535 GB, free: 4.238 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/1.365, allocations: 29.7 kB / 1.535 GB, free: 4.203 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/1.365, allocations: 0.5623 MB / 1.536 GB, free: 3.637 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.365, allocations: 107 kB / 1.536 GB, free: 3.531 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/1.365, allocations: 61.7 kB / 1.536 GB, free: 3.465 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.366, allocations: 318 kB / 1.536 GB, free: 3.148 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/1.366, allocations: 159.9 kB / 1.537 GB, free: 2.992 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/1.366, allocations: 278.1 kB / 1.537 GB, free: 2.691 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/1.367, allocations: 404.2 kB / 1.537 GB, free: 2.266 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.367, allocations: 0 / 1.537 GB, free: 2.266 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009358/1.368, allocations: 0.5478 MB / 1.538 GB, free: 1.711 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.368, allocations: 4 kB / 1.538 GB, free: 1.707 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.368, allocations: 4.188 kB / 1.538 GB, free: 1.703 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/1.368, allocations: 8 kB / 1.538 GB, free: 1.695 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/1.368, allocations: 59.84 kB / 1.538 GB, free: 1.637 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/1.368, allocations: 4.156 kB / 1.538 GB, free: 1.633 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/1.368, allocations: 111 kB / 1.538 GB, free: 1.523 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/1.369, allocations: 23.98 kB / 1.538 GB, free: 1.5 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.0005235/1.369, allocations: 377.6 kB / 1.538 GB, free: 1.121 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/1.369, allocations: 147 kB / 1.539 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006447/1.37, allocations: 384.8 kB / 1.539 GB, free: 0.5781 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.37, allocations: 3.938 kB / 1.539 GB, free: 0.5742 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.37, allocations: 7.938 kB / 1.539 GB, free: 0.5664 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.37, allocations: 0 / 1.539 GB, free: 0.5664 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/1.374, allocations: 2.525 MB / 1.541 GB, free: 13.86 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.374, allocations: 4 kB / 1.541 GB, free: 13.86 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/1.374, allocations: 55.86 kB / 1.541 GB, free: 13.8 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/1.374, allocations: 8 kB / 1.541 GB, free: 13.79 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/1.374, allocations: 8 kB / 1.541 GB, free: 13.79 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/1.374, allocations: 11.98 kB / 1.541 GB, free: 13.77 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/1.374, allocations: 16 kB / 1.541 GB, free: 13.76 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008402/1.375, allocations: 0.6297 MB / 1.542 GB, free: 13.03 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/1.375, allocations: 304 kB / 1.542 GB, free: 12.71 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/1.376, allocations: 16 kB / 1.542 GB, free: 12.7 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/1.376, allocations: 19.92 kB / 1.542 GB, free: 12.68 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/1.376, allocations: 31.86 kB / 1.542 GB, free: 12.65 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/1.376, allocations: 12 kB / 1.542 GB, free: 12.64 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001782/1.378, allocations: 1.239 MB / 1.544 GB, free: 11.4 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.378, allocations: 0 / 1.544 GB, free: 11.4 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00111/1.379, allocations: 327.4 kB / 1.544 GB, free: 11.08 MB / 1.232 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.002571/1.381, allocations: 1.659 MB / 1.546 GB, free: 9.316 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0007116/1.382, allocations: 347.4 kB / 1.546 GB, free: 8.977 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.382, allocations: 0 / 1.546 GB, free: 8.977 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/1.382, allocations: 160.3 kB / 1.546 GB, free: 8.82 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004183/1.387, allocations: 0.9276 MB / 1.547 GB, free: 7.926 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/1.402, allocations: 10.53 MB / 1.557 GB, free: 13.05 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.403, allocations: 1.204 MB / 1.558 GB, free: 11.82 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001038/1.404, allocations: 306.6 kB / 1.559 GB, free: 11.51 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/1.405, allocations: 459.3 kB / 1.559 GB, free: 11.06 MB / 1.248 GB Notification: Performance of SimCode: time 1.263e-06/1.405, allocations: 0 / 1.559 GB, free: 11.06 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08708/1.492, allocations: 44.24 MB / 1.602 GB, free: 15.28 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/13.45, allocations: 4.062 kB / 1.602 GB, free: 15.28 MB / 1.295 GB " [Timeout remaining time 286] (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: 19.88010181300342]