Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.001753/0.001753, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00193/0.00193, allocations: 215.1 kB / 22.25 MB, free: 5.262 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 3.314/3.314, allocations: 0.5107 GB / 0.8158 GB, free: 17.74 MB / 0.6231 GB " [Timeout remaining time 176] 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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.002055/0.002055, allocations: 73.33 kB / 1.186 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3798, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002592/0.3824, allocations: 1.29 MB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002653/0.385, allocations: 1.528 MB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.385, allocations: 0 / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.3851, allocations: 3.938 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.3853, allocations: 19.91 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006871/0.386, allocations: 216.9 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.802e-05/0.386, allocations: 23.92 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.3861, allocations: 4 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.3862, allocations: 27.86 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.678e-05/0.3863, allocations: 3.984 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3863, allocations: 4 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.3866, allocations: 151.9 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.3866, allocations: 7.938 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.3866, allocations: 11.94 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.3869, allocations: 143.9 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3869, allocations: 4 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.302e-06/0.387, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.387, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003877/0.3873, allocations: 286 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3874, allocations: 8.031 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.257e-05/0.3874, allocations: 106 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.783e-05/0.3875, allocations: 80.22 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.3877, allocations: 189.8 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-05/0.3878, allocations: 158.9 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.618e-05/0.3878, allocations: 158.5 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.94e-05/0.3879, allocations: 104.9 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/0.388, allocations: 75.28 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/0.388, allocations: 150.6 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.629e-05/0.3881, allocations: 154.6 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.147e-05/0.3882, allocations: 158.6 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.3885, allocations: 425 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.3886, allocations: 177 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.3886, allocations: 80.14 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.3887, allocations: 83.27 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.3887, allocations: 113.8 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3887, allocations: 0 / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.674e-05/0.3888, allocations: 29.7 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.3889, allocations: 130.6 kB / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.389, allocations: 110 kB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.389, allocations: 25.7 kB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.3891, allocations: 84.12 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.3891, allocations: 4 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.3891, allocations: 21.7 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3893, allocations: 314.8 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.3893, allocations: 8 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.3894, allocations: 107.7 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/0.3894, allocations: 26.52 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3894, allocations: 0 / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001366/0.3896, allocations: 57.56 kB / 1.37 GB, free: 6.992 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3896, allocations: 4 kB / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3896, allocations: 96 / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3896, allocations: 4 kB / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/0.3897, allocations: 8 kB / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3897, allocations: 0 / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.3898, allocations: 11.98 kB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3898, allocations: 4 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.000124/0.3899, allocations: 194.2 kB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.862e-05/0.39, allocations: 112.9 kB / 1.37 GB, free: 6.645 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.3901, allocations: 104.1 kB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.951e-05/0.3902, allocations: 176.3 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.878e-05/0.3903, allocations: 188.2 kB / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-05/0.3903, allocations: 176.3 kB / 1.371 GB, free: 5.98 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.3906, allocations: 384.2 kB / 1.371 GB, free: 5.555 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.731e-05/0.3907, allocations: 101 kB / 1.371 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.3907, allocations: 105 kB / 1.372 GB, free: 5.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-05/0.3908, allocations: 192.1 kB / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/0.3909, allocations: 176.3 kB / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-05/0.391, allocations: 184.2 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-05/0.391, allocations: 176.3 kB / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.3912, allocations: 311.7 kB / 1.373 GB, free: 4.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.3913, allocations: 105 kB / 1.373 GB, free: 4.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-05/0.3914, allocations: 188.2 kB / 1.373 GB, free: 3.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.3915, allocations: 101 kB / 1.373 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.3915, allocations: 184.2 kB / 1.373 GB, free: 3.676 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.3916, allocations: 105 kB / 1.373 GB, free: 3.566 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.3916, allocations: 87.28 kB / 1.373 GB, free: 3.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3916, allocations: 3.938 kB / 1.373 GB, free: 3.477 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000349/0.392, allocations: 55.8 kB / 1.373 GB, free: 3.422 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.001034/0.393, allocations: 0.9624 MB / 1.374 GB, free: 2.473 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.889e-05/0.3931, allocations: 15.92 kB / 1.374 GB, free: 2.457 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3931, allocations: 0 / 1.374 GB, free: 2.457 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-06/0.3931, allocations: 8 kB / 1.374 GB, free: 2.449 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.3935, allocations: 451.7 kB / 1.375 GB, free: 2.004 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3948, allocations: 1.349 MB / 1.376 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.134e-05/0.3949, allocations: 55.36 kB / 1.376 GB, free: 500 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.3949, allocations: 0 / 1.376 GB, free: 500 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.3949, allocations: 15.67 kB / 1.376 GB, free: 484 kB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.3949, allocations: 4 kB / 1.376 GB, free: 480 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/0.429, allocations: 3.144 MB / 1.379 GB, free: 13.48 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.3, allocations: 10.62 kB / 1.379 GB, free: 13.47 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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: 18.169081180356443]