Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001433/0.001433, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001718/0.001718, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.34/1.34, allocations: 230.6 MB / 256 MB, free: 8 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.954/2.954, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_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.001889/0.001889, allocations: 63.3 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3219, allocations: 180.2 MB / 1.353 GB, free: 8.496 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2481/0.57, allocations: 218.3 MB / 1.566 GB, free: 13.36 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.5867, allocations: 12.29 MB / 1.578 GB, free: 1.027 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.5881, allocations: 59.44 kB / 1.578 GB, free: 0.9688 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.5896, allocations: 0.5157 MB / 1.579 GB, free: 460 kB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.005028/0.5946, allocations: 1.992 MB / 1.581 GB, free: 14.45 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004821/0.5995, allocations: 2.024 MB / 1.583 GB, free: 12.43 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.003374/0.6028, allocations: 2.395 MB / 1.585 GB, free: 10.02 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/0.6044, allocations: 0.8657 MB / 1.586 GB, free: 9.137 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006853/0.6113, allocations: 3.131 MB / 1.589 GB, free: 5.996 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.6125, allocations: 0.6924 MB / 1.589 GB, free: 5.301 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002919/0.6128, allocations: 92 kB / 1.59 GB, free: 5.211 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005248/0.6181, allocations: 2.658 MB / 1.592 GB, free: 2.547 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0007469/0.6188, allocations: 0.557 MB / 1.593 GB, free: 1.988 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.6202, allocations: 0.7386 MB / 1.593 GB, free: 1.246 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.005683/0.6259, allocations: 3.126 MB / 1.596 GB, free: 14.11 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6259, allocations: 0 / 1.596 GB, free: 14.11 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6259, allocations: 0 / 1.596 GB, free: 14.11 MB / 1.295 GB Notification: Performance of Transformations before backend: time 6.541e-05/0.6259, allocations: 0 / 1.596 GB, free: 14.11 MB / 1.295 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.003118/0.629, allocations: 1.717 MB / 1.598 GB, free: 12.35 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.6291, allocations: 8.031 kB / 1.598 GB, free: 12.34 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002812/0.6294, allocations: 172.8 kB / 1.598 GB, free: 12.16 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.6311, allocations: 382.7 kB / 1.599 GB, free: 11.79 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.633, allocations: 0.9023 MB / 1.6 GB, free: 10.86 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/0.6331, allocations: 78.06 kB / 1.6 GB, free: 10.78 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.6332, allocations: 104 kB / 1.6 GB, free: 10.68 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.6355, allocations: 1.521 MB / 1.601 GB, free: 9.043 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.6356, allocations: 3.938 kB / 1.601 GB, free: 9.039 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.6357, allocations: 51.94 kB / 1.601 GB, free: 8.988 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.87e-05/0.6357, allocations: 61.62 kB / 1.601 GB, free: 8.93 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.6373, allocations: 1.025 MB / 1.602 GB, free: 7.906 MB / 1.295 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.006739/0.644, allocations: 5.653 MB / 1.608 GB, free: 1.984 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.6446, allocations: 314.2 kB / 1.608 GB, free: 1.641 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.6449, allocations: 239.4 kB / 1.608 GB, free: 1.395 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004554/0.6454, allocations: 116.2 kB / 1.609 GB, free: 1.281 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.6454, allocations: 42.5 kB / 1.609 GB, free: 1.23 MB / 1.295 GB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/0.6454, allocations: 0 / 1.609 GB, free: 1.23 MB / 1.295 GB Notification: Performance of matching and sorting (n=28): time 0.001386/0.6468, allocations: 0.68 MB / 1.609 GB, free: 0.543 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/0.6469, allocations: 140.4 kB / 1.609 GB, free: 384 kB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6005/1.247, allocations: 1.677 MB / 1.611 GB, free: 257.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/1.247, allocations: 32.27 kB / 1.611 GB, free: 257.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000457/1.248, allocations: 0.5592 MB / 1.612 GB, free: 257.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/1.248, allocations: 98.8 kB / 1.612 GB, free: 257.7 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/1.248, allocations: 69.09 kB / 1.612 GB, free: 257.6 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.667e-05/1.248, allocations: 316.5 kB / 1.612 GB, free: 257.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/1.248, allocations: 153.6 kB / 1.612 GB, free: 257.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/1.249, allocations: 270.1 kB / 1.612 GB, free: 257.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/1.249, allocations: 412.6 kB / 1.613 GB, free: 257.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.249, allocations: 0.8438 kB / 1.613 GB, free: 257.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007925/1.25, allocations: 0.5552 MB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.25, allocations: 6.25 kB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/1.25, allocations: 1.969 kB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/1.25, allocations: 4.703 kB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/1.25, allocations: 51.25 kB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.25, allocations: 8.625 kB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/1.251, allocations: 110 kB / 1.614 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/1.251, allocations: 24.8 kB / 1.614 GB, free: 256.9 MB / 1.295 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.0004258/1.251, allocations: 383.4 kB / 1.614 GB, free: 256.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/1.251, allocations: 147.2 kB / 1.614 GB, free: 256.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005449/1.252, allocations: 381.2 kB / 1.614 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.252, allocations: 8.547 kB / 1.614 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.252, allocations: 1.688 kB / 1.614 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.252, allocations: 2.031 kB / 1.614 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/1.255, allocations: 2.351 MB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.255, allocations: 5.953 kB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/1.256, allocations: 47.95 kB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/1.256, allocations: 8.469 kB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/1.256, allocations: 13.11 kB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.454e-05/1.256, allocations: 12.69 kB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/1.256, allocations: 10.88 kB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/1.256, allocations: 0.6308 MB / 1.617 GB, free: 254.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/1.257, allocations: 226.8 kB / 1.618 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/1.257, allocations: 15.47 kB / 1.618 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/1.257, allocations: 13.47 kB / 1.618 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/1.257, allocations: 43.8 kB / 1.618 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/1.257, allocations: 18.83 kB / 1.618 GB, free: 254.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001777/1.259, allocations: 1.223 MB / 1.619 GB, free: 254 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.259, allocations: 0 / 1.619 GB, free: 254 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009302/1.26, allocations: 337.5 kB / 1.619 GB, free: 254 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.001766/1.262, allocations: 1.644 MB / 1.621 GB, free: 253 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0005101/1.262, allocations: 351.6 kB / 1.621 GB, free: 252.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.262, allocations: 1.094 kB / 1.621 GB, free: 252.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/1.263, allocations: 159.6 kB / 1.621 GB, free: 252.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/1.266, allocations: 0.9265 MB / 1.622 GB, free: 252.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.279, allocations: 10.52 MB / 1.633 GB, free: 248 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007229/1.28, allocations: 1.213 MB / 1.634 GB, free: 247.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001053/1.281, allocations: 300.8 kB / 1.634 GB, free: 247.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/1.281, allocations: 461.2 kB / 1.634 GB, free: 246.8 MB / 1.295 GB Notification: Performance of SimCode: time 9.31e-07/1.281, allocations: 0 / 1.634 GB, free: 246.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07717/1.359, allocations: 44.45 MB / 1.678 GB, free: 215.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.75, allocations: 1.406 kB / 1.678 GB, free: 215.8 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.90480977902189]