Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.001448/0.001448, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00169/0.00169, allocations: 217.9 kB / 22.25 MB, free: 5.105 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 7.797 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 2.9/2.9, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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.BoundaryWithXi_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_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.001906/0.001906, allocations: 62.91 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3246, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.221/0.5456, allocations: 189.8 MB / 1.511 GB, free: 3.035 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.5608, allocations: 11.24 MB / 1.522 GB, free: 7.77 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.5621, allocations: 63.38 kB / 1.522 GB, free: 7.707 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.5636, allocations: 0.5197 MB / 1.523 GB, free: 7.184 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004674/0.5683, allocations: 1.917 MB / 1.525 GB, free: 5.258 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004527/0.5728, allocations: 1.964 MB / 1.526 GB, free: 3.297 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003221/0.5761, allocations: 2.426 MB / 1.529 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.5774, allocations: 0.8383 MB / 1.53 GB, free: 15.99 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006931/0.5843, allocations: 3.158 MB / 1.533 GB, free: 12.83 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.5855, allocations: 0.6963 MB / 1.533 GB, free: 12.13 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.5857, allocations: 88 kB / 1.534 GB, free: 12.04 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004377/0.5901, allocations: 2.092 MB / 1.536 GB, free: 9.949 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006421/0.5907, allocations: 0.5531 MB / 1.536 GB, free: 9.395 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007931/0.5915, allocations: 0.5833 MB / 1.537 GB, free: 8.809 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00493/0.5964, allocations: 3.056 MB / 1.54 GB, free: 5.742 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5964, allocations: 0 / 1.54 GB, free: 5.742 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5965, allocations: 4 kB / 1.54 GB, free: 5.738 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.094e-05/0.5965, allocations: 0 / 1.54 GB, free: 5.738 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002493/0.599, allocations: 1.702 MB / 1.541 GB, free: 3.996 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.599, allocations: 8.031 kB / 1.541 GB, free: 3.988 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000201/0.5992, allocations: 172.6 kB / 1.542 GB, free: 3.809 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.6008, allocations: 382.6 kB / 1.542 GB, free: 3.434 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.6026, allocations: 0.8907 MB / 1.543 GB, free: 2.512 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.158e-05/0.6027, allocations: 78.02 kB / 1.543 GB, free: 2.434 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.6028, allocations: 100 kB / 1.543 GB, free: 2.336 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.6054, allocations: 1.96 MB / 1.545 GB, free: 160 kB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.6055, allocations: 7.938 kB / 1.545 GB, free: 152 kB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.684e-05/0.6056, allocations: 47.94 kB / 1.545 GB, free: 104 kB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.457e-05/0.6056, allocations: 57.48 kB / 1.545 GB, free: 48 kB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.6072, allocations: 1.021 MB / 1.546 GB, free: 15.03 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.006645/0.6138, allocations: 4.885 MB / 1.551 GB, free: 9.992 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.6145, allocations: 306.2 kB / 1.551 GB, free: 9.656 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.6149, allocations: 239.3 kB / 1.551 GB, free: 9.41 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005165/0.6154, allocations: 116.1 kB / 1.551 GB, free: 9.297 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.6154, allocations: 38.56 kB / 1.551 GB, free: 9.25 MB / 1.248 GB Notification: Performance of pre-optimization done (n=28): time 2.926e-06/0.6154, allocations: 0 / 1.551 GB, free: 9.25 MB / 1.248 GB Notification: Performance of matching and sorting (n=28): time 0.001492/0.6169, allocations: 0.68 MB / 1.552 GB, free: 8.562 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.617, allocations: 132.5 kB / 1.552 GB, free: 8.402 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.6194, allocations: 1.662 MB / 1.554 GB, free: 6.73 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.6195, allocations: 33.7 kB / 1.554 GB, free: 6.691 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005966/0.6201, allocations: 0.5504 MB / 1.554 GB, free: 6.137 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.6202, allocations: 103.1 kB / 1.554 GB, free: 6.035 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.6204, allocations: 69.69 kB / 1.555 GB, free: 5.961 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.6206, allocations: 321.9 kB / 1.555 GB, free: 5.641 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.6208, allocations: 159.9 kB / 1.555 GB, free: 5.484 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.6213, allocations: 456.3 kB / 1.555 GB, free: 4.965 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006664/0.622, allocations: 433.9 kB / 1.556 GB, free: 4.504 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.622, allocations: 0 / 1.556 GB, free: 4.504 MB / 1.248 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009243/0.6229, allocations: 0.5712 MB / 1.556 GB, free: 3.926 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6229, allocations: 11.94 kB / 1.556 GB, free: 3.914 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.623, allocations: 0 / 1.556 GB, free: 3.914 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.623, allocations: 4 kB / 1.556 GB, free: 3.91 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.6232, allocations: 63.91 kB / 1.556 GB, free: 3.848 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.6232, allocations: 8.141 kB / 1.556 GB, free: 3.84 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.6238, allocations: 107 kB / 1.557 GB, free: 3.734 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.6239, allocations: 20.23 kB / 1.557 GB, free: 3.715 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0005138/0.6244, allocations: 381.6 kB / 1.557 GB, free: 3.332 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.6247, allocations: 143.1 kB / 1.557 GB, free: 3.191 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007327/0.6255, allocations: 385.1 kB / 1.557 GB, free: 2.793 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6255, allocations: 0 / 1.557 GB, free: 2.793 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6255, allocations: 4 kB / 1.557 GB, free: 2.789 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6255, allocations: 0 / 1.557 GB, free: 2.789 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/0.6291, allocations: 2.237 MB / 1.56 GB, free: 424 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.6291, allocations: 4 kB / 1.56 GB, free: 420 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.6293, allocations: 55.91 kB / 1.56 GB, free: 364 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.6293, allocations: 11.94 kB / 1.56 GB, free: 352 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.6294, allocations: 15.94 kB / 1.56 GB, free: 336 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.6294, allocations: 11.94 kB / 1.56 GB, free: 324 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.709e-06/0.6294, allocations: 11.94 kB / 1.56 GB, free: 312 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008591/0.6302, allocations: 0.6153 MB / 1.56 GB, free: 15.59 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/0.6307, allocations: 226.9 kB / 1.561 GB, free: 15.37 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.6309, allocations: 19.98 kB / 1.561 GB, free: 15.35 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.6313, allocations: 8 kB / 1.561 GB, free: 15.34 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.6313, allocations: 39.78 kB / 1.561 GB, free: 15.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.6314, allocations: 16 kB / 1.561 GB, free: 15.29 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001588/0.6329, allocations: 1.203 MB / 1.562 GB, free: 14.09 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6329, allocations: 0 / 1.562 GB, free: 14.09 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001083/0.634, allocations: 335.4 kB / 1.562 GB, free: 13.76 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.002443/0.6365, allocations: 1.661 MB / 1.564 GB, free: 11.99 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0006304/0.6371, allocations: 347.5 kB / 1.564 GB, free: 11.65 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6371, allocations: 0 / 1.564 GB, free: 11.65 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.6373, allocations: 164.7 kB / 1.564 GB, free: 11.49 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/0.6407, allocations: 0.9141 MB / 1.565 GB, free: 10.61 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.6552, allocations: 10.4 MB / 1.575 GB, free: 15.84 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007091/0.656, allocations: 0.6145 MB / 1.576 GB, free: 15.19 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001007/0.657, allocations: 302.6 kB / 1.576 GB, free: 14.89 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005966/0.6576, allocations: 459.3 kB / 1.577 GB, free: 14.44 MB / 1.279 GB Notification: Performance of SimCode: time 9.22e-07/0.6576, allocations: 0 / 1.577 GB, free: 14.44 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6729/1.33, allocations: 48.07 MB / 1.624 GB, free: 266.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/13.05, allocations: 7.359 kB / 1.624 GB, free: 266.3 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.234956430998864]