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.001561/0.001561, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001945/0.001945, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 8.012 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.22/3.22, allocations: 0.505 GB / 0.8101 GB, free: 22.08 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.00231/0.00231, allocations: 67.61 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.344, allocations: 180.2 MB / 1.353 GB, free: 8.523 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002449/0.3465, allocations: 1.3 MB / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.3489, allocations: 1.59 MB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.349, allocations: 0 / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.349, allocations: 0 / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.3492, allocations: 11.92 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.3498, allocations: 221.5 kB / 1.356 GB, free: 5.395 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.3499, allocations: 23.92 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.35, allocations: 0 / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.3501, allocations: 31.84 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.3502, allocations: 4 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.3502, allocations: 0 / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.3505, allocations: 175.8 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.3505, allocations: 4 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.3505, allocations: 15.92 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.3508, allocations: 147.9 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3508, allocations: 3.984 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3508, allocations: 0 / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3508, allocations: 0 / 1.356 GB, free: 4.996 MB / 1.045 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.0003744/0.3512, allocations: 294 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3512, allocations: 15.97 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/0.3513, allocations: 106 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.3513, allocations: 76.22 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.3515, allocations: 193.7 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.121e-05/0.3516, allocations: 158.9 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.31e-05/0.3517, allocations: 162.4 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.427e-05/0.3517, allocations: 101 kB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/0.3518, allocations: 79.27 kB / 1.357 GB, free: 3.762 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.3518, allocations: 154.6 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/0.3519, allocations: 150.6 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.601e-05/0.352, allocations: 158.5 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.3523, allocations: 433 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.3524, allocations: 173.1 kB / 1.358 GB, free: 2.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.3524, allocations: 80.14 kB / 1.359 GB, free: 2.578 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.3525, allocations: 75.28 kB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.3525, allocations: 105.8 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3525, allocations: 4 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.557e-05/0.3526, allocations: 33.59 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.3527, allocations: 130.7 kB / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3528, allocations: 105.8 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3528, allocations: 29.7 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.3529, allocations: 84.14 kB / 1.359 GB, free: 1.973 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.3529, allocations: 0 / 1.359 GB, free: 1.973 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3529, allocations: 21.7 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.353, allocations: 310.8 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.353, allocations: 4 kB / 1.359 GB, free: 1.629 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.3531, allocations: 30.56 kB / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.584e-05/0.3531, allocations: 26.56 kB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3531, allocations: 0 / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00014/0.3533, allocations: 53.56 kB / 1.359 GB, free: 1.496 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3533, allocations: 8.094 kB / 1.359 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3533, allocations: 4 kB / 1.36 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3533, allocations: 0 / 1.36 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.3534, allocations: 4 kB / 1.36 GB, free: 1.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.3534, allocations: 0 / 1.36 GB, free: 1.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3535, allocations: 11.92 kB / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.3536, allocations: 8 kB / 1.36 GB, free: 1.461 MB / 1.045 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.0001191/0.3537, allocations: 200.9 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.095e-05/0.3537, allocations: 108.9 kB / 1.36 GB, free: 1.141 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.3538, allocations: 108.1 kB / 1.36 GB, free: 1.027 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-05/0.3539, allocations: 188.2 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.621e-05/0.354, allocations: 176.3 kB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.55e-05/0.354, allocations: 180.2 kB / 1.36 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.3543, allocations: 384.2 kB / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.863e-05/0.3543, allocations: 101 kB / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.3544, allocations: 104.9 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.33e-05/0.3545, allocations: 180.3 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.739e-05/0.3545, allocations: 188.4 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.409e-05/0.3546, allocations: 180.3 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.977e-05/0.3547, allocations: 180.3 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.3549, allocations: 307.7 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.3549, allocations: 112.9 kB / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.355, allocations: 184.3 kB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.3551, allocations: 101 kB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.3552, allocations: 188.2 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.3552, allocations: 101 kB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.3553, allocations: 83.27 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3553, allocations: 0 / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003475/0.3556, allocations: 55.8 kB / 1.363 GB, free: 13.92 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.0009533/0.3566, allocations: 0.9681 MB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.791e-05/0.3567, allocations: 11.98 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3567, allocations: 0 / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.3567, allocations: 3.938 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.357, allocations: 462.1 kB / 1.364 GB, free: 12.49 MB / 1.061 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3583, allocations: 1.357 MB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.3586, allocations: 0.6767 MB / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.303e-05/0.3586, allocations: 8 kB / 1.366 GB, free: 10.33 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.3586, allocations: 11.44 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.3586, allocations: 4 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.203/1.562, allocations: 2.716 MB / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/12.16, allocations: 8 kB / 1.369 GB, free: 7.738 MB / 1.061 GB " [Timeout remaining time 269] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 42.97069653499966]