Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001219/0.001219, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001314/0.001314, allocations: 214.3 kB / 23.04 MB, free: 5.07 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.324/1.324, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.959/2.959, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_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.001844/0.001844, allocations: 61.78 kB / 1.171 GB, free: 20.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2995, allocations: 179 MB / 1.345 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2246/0.5241, allocations: 218.4 MB / 1.559 GB, free: 5.438 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01495/0.5391, allocations: 12.29 MB / 1.571 GB, free: 9.109 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.5403, allocations: 63.38 kB / 1.571 GB, free: 9.047 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.5415, allocations: 0.5158 MB / 1.571 GB, free: 8.527 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.004304/0.5458, allocations: 1.987 MB / 1.573 GB, free: 6.531 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.00441/0.5502, allocations: 2.02 MB / 1.575 GB, free: 4.516 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003041/0.5532, allocations: 2.434 MB / 1.577 GB, free: 2.07 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.5545, allocations: 0.8304 MB / 1.578 GB, free: 1.219 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006375/0.5608, allocations: 3.143 MB / 1.581 GB, free: 14.07 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.5618, allocations: 0.6924 MB / 1.582 GB, free: 13.37 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.562, allocations: 96 kB / 1.582 GB, free: 13.28 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004742/0.5667, allocations: 2.65 MB / 1.585 GB, free: 10.62 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0005401/0.5673, allocations: 0.5492 MB / 1.585 GB, free: 10.07 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0007921/0.568, allocations: 0.727 MB / 1.586 GB, free: 9.34 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.004826/0.5729, allocations: 3.107 MB / 1.589 GB, free: 6.223 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5729, allocations: 0 / 1.589 GB, free: 6.223 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5729, allocations: 0 / 1.589 GB, free: 6.223 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.068e-05/0.5729, allocations: 0 / 1.589 GB, free: 6.223 MB / 1.279 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.002453/0.5753, allocations: 1.709 MB / 1.591 GB, free: 4.473 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5754, allocations: 12.03 kB / 1.591 GB, free: 4.461 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.582e-05/0.5754, allocations: 26.03 kB / 1.591 GB, free: 4.434 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.5756, allocations: 168.6 kB / 1.591 GB, free: 4.258 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.5772, allocations: 378.7 kB / 1.591 GB, free: 3.887 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.5788, allocations: 0.8906 MB / 1.592 GB, free: 2.965 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.881e-05/0.5788, allocations: 86.02 kB / 1.592 GB, free: 2.879 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.579, allocations: 96 kB / 1.592 GB, free: 2.785 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.5811, allocations: 1.513 MB / 1.594 GB, free: 1.164 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.5811, allocations: 3.938 kB / 1.594 GB, free: 1.16 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.771e-05/0.5812, allocations: 55.92 kB / 1.594 GB, free: 1.105 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.336e-05/0.5813, allocations: 57.48 kB / 1.594 GB, free: 1.051 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.5827, allocations: 1.017 MB / 1.595 GB, free: 32 kB / 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.006122/0.5888, allocations: 5.613 MB / 1.6 GB, free: 10.14 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.5894, allocations: 306.2 kB / 1.601 GB, free: 9.809 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.5897, allocations: 247.6 kB / 1.601 GB, free: 9.555 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004155/0.5901, allocations: 119.9 kB / 1.601 GB, free: 9.438 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.5902, allocations: 42.56 kB / 1.601 GB, free: 9.387 MB / 1.295 GB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/0.5902, allocations: 0 / 1.601 GB, free: 9.387 MB / 1.295 GB Notification: Performance of matching and sorting (n=28): time 0.001282/0.5914, allocations: 0.6759 MB / 1.602 GB, free: 8.703 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.5915, allocations: 136.5 kB / 1.602 GB, free: 8.539 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.5935, allocations: 1.658 MB / 1.603 GB, free: 6.871 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.5936, allocations: 33.7 kB / 1.603 GB, free: 6.832 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005538/0.5941, allocations: 0.5543 MB / 1.604 GB, free: 6.273 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.5942, allocations: 103.1 kB / 1.604 GB, free: 6.172 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.5943, allocations: 61.7 kB / 1.604 GB, free: 6.105 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5945, allocations: 325.9 kB / 1.604 GB, free: 5.781 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.5947, allocations: 163.8 kB / 1.605 GB, free: 5.621 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.595, allocations: 294.7 kB / 1.605 GB, free: 5.297 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.5955, allocations: 426.6 kB / 1.605 GB, free: 4.844 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.5955, allocations: 3.938 kB / 1.605 GB, free: 4.84 MB / 1.295 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007991/0.5963, allocations: 0.5705 MB / 1.606 GB, free: 4.262 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5964, allocations: 8 kB / 1.606 GB, free: 4.254 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5964, allocations: 0 / 1.606 GB, free: 4.254 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5964, allocations: 4 kB / 1.606 GB, free: 4.25 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.5966, allocations: 63.91 kB / 1.606 GB, free: 4.188 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.5966, allocations: 4 kB / 1.606 GB, free: 4.184 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.5971, allocations: 107 kB / 1.606 GB, free: 4.078 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.5971, allocations: 19.94 kB / 1.606 GB, free: 4.059 MB / 1.295 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.00046/0.5976, allocations: 386.3 kB / 1.606 GB, free: 3.672 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.5978, allocations: 147 kB / 1.606 GB, free: 3.527 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006243/0.5984, allocations: 376.8 kB / 1.607 GB, free: 3.137 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5984, allocations: 4.094 kB / 1.607 GB, free: 3.133 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5985, allocations: 3.984 kB / 1.607 GB, free: 3.129 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5985, allocations: 4 kB / 1.607 GB, free: 3.125 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.6018, allocations: 2.346 MB / 1.609 GB, free: 0.6406 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.6018, allocations: 8 kB / 1.609 GB, free: 0.6328 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.6019, allocations: 47.92 kB / 1.609 GB, free: 0.5859 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.602, allocations: 8.688 kB / 1.609 GB, free: 0.5781 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.602, allocations: 20.06 kB / 1.609 GB, free: 0.5586 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.602, allocations: 19.92 kB / 1.609 GB, free: 0.5391 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.602, allocations: 7.938 kB / 1.609 GB, free: 0.5312 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5318/1.134, allocations: 0.6223 MB / 1.61 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005565/1.134, allocations: 223.8 kB / 1.61 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/1.135, allocations: 17.33 kB / 1.61 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/1.135, allocations: 10.88 kB / 1.61 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/1.135, allocations: 39.34 kB / 1.61 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/1.135, allocations: 19.25 kB / 1.61 GB, free: 264.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001619/1.137, allocations: 1.205 MB / 1.611 GB, free: 264.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.137, allocations: 0.5 kB / 1.611 GB, free: 264.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001021/1.138, allocations: 332.6 kB / 1.612 GB, free: 264.5 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.00196/1.14, allocations: 1.653 MB / 1.613 GB, free: 263.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0005502/1.14, allocations: 355.4 kB / 1.614 GB, free: 263.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.14, allocations: 1.656 kB / 1.614 GB, free: 263.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/1.14, allocations: 158.3 kB / 1.614 GB, free: 263.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/1.144, allocations: 0.9194 MB / 1.615 GB, free: 263.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/1.158, allocations: 10.41 MB / 1.625 GB, free: 258.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007217/1.159, allocations: 1.205 MB / 1.626 GB, free: 258.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001136/1.16, allocations: 297.3 kB / 1.626 GB, free: 258 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/1.16, allocations: 458.5 kB / 1.627 GB, free: 257.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.413e-06/1.16, allocations: 3.609 kB / 1.627 GB, free: 257.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06681/1.227, allocations: 44.26 MB / 1.67 GB, free: 230.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.88, allocations: 0 / 1.67 GB, free: 230.1 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.248631999013014]