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.001804/0.001804, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001364/0.001364, allocations: 215 kB / 20.13 MB, free: 2.949 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.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.936/2.936, allocations: 0.5003 GB / 0.8026 GB, free: 6.891 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.002197/0.002197, allocations: 71.89 kB / 1.165 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9565/0.9587, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002122/0.9608, allocations: 1.29 MB / 1.341 GB, free: 15.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.9627, allocations: 1.485 MB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.9628, allocations: 1.906 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.9628, allocations: 3.938 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.963, allocations: 13.94 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.9635, allocations: 209.6 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.794e-05/0.9636, allocations: 27.09 kB / 1.343 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.9637, allocations: 1.766 kB / 1.343 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.9638, allocations: 30.95 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.949e-05/0.9639, allocations: 15.38 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.9639, allocations: 0 / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.9641, allocations: 161 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.9641, allocations: 10.47 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.9642, allocations: 14.84 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.9644, allocations: 140.3 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9644, allocations: 4 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9644, allocations: 0 / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.9644, allocations: 0 / 1.343 GB, free: 14.11 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.0003117/0.9647, allocations: 378.2 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.9647, allocations: 9.625 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.678e-05/0.9648, allocations: 76.84 kB / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.17e-05/0.9648, allocations: 106.8 kB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.9648, allocations: 81.59 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.9649, allocations: 243.9 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.965, allocations: 160.9 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.965, allocations: 153.3 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.06e-05/0.965, allocations: 104.9 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.965, allocations: 76.08 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.9651, allocations: 159.9 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.9651, allocations: 150.6 kB / 1.345 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.039e-05/0.9651, allocations: 158.6 kB / 1.345 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.9653, allocations: 456.1 kB / 1.346 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.965e-05/0.9653, allocations: 173.6 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.9653, allocations: 81.52 kB / 1.346 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.9653, allocations: 80.03 kB / 1.346 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.9654, allocations: 107.2 kB / 1.346 GB, free: 11.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.9654, allocations: 0 / 1.346 GB, free: 11.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.632e-05/0.9654, allocations: 37.11 kB / 1.346 GB, free: 11.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.9655, allocations: 131.4 kB / 1.346 GB, free: 11.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.9655, allocations: 103.7 kB / 1.346 GB, free: 11.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.9655, allocations: 25.7 kB / 1.346 GB, free: 10.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.9656, allocations: 91.67 kB / 1.346 GB, free: 10.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.9656, allocations: 0 / 1.346 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.9656, allocations: 20.86 kB / 1.346 GB, free: 10.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.806e-05/0.9656, allocations: 313.5 kB / 1.347 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.9656, allocations: 2.078 kB / 1.347 GB, free: 10.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.781e-05/0.9657, allocations: 28.03 kB / 1.347 GB, free: 10.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.186e-05/0.9657, allocations: 32.67 kB / 1.347 GB, free: 10.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9657, allocations: 3.938 kB / 1.347 GB, free: 10.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001065/0.9658, allocations: 50.61 kB / 1.347 GB, free: 10.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.9658, allocations: 5.5 kB / 1.347 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.9658, allocations: 0 / 1.347 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.9658, allocations: 2.031 kB / 1.347 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.9659, allocations: 4.781 kB / 1.347 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.9659, allocations: 6.172 kB / 1.347 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.9661, allocations: 13.84 kB / 1.347 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.9661, allocations: 7.344 kB / 1.347 GB, free: 10.44 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 5.154e-05/0.9661, allocations: 189 kB / 1.347 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.9662, allocations: 114.9 kB / 1.347 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.9662, allocations: 110.2 kB / 1.347 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.9662, allocations: 182.4 kB / 1.347 GB, free: 9.836 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/0.9662, allocations: 180.9 kB / 1.348 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.9662, allocations: 178.6 kB / 1.348 GB, free: 9.473 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.9664, allocations: 410.8 kB / 1.348 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.9664, allocations: 103.9 kB / 1.348 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.9664, allocations: 105 kB / 1.348 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.042e-05/0.9664, allocations: 187 kB / 1.349 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.9664, allocations: 177.6 kB / 1.349 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-05/0.9665, allocations: 191.1 kB / 1.349 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.959e-05/0.9665, allocations: 176.3 kB / 1.349 GB, free: 8.066 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.929e-05/0.9665, allocations: 313.9 kB / 1.349 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.9666, allocations: 185.1 kB / 1.35 GB, free: 7.539 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.9666, allocations: 182.1 kB / 1.35 GB, free: 7.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.529e-05/0.9667, allocations: 101.7 kB / 1.35 GB, free: 7.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.9667, allocations: 182.3 kB / 1.35 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.9667, allocations: 102.9 kB / 1.35 GB, free: 6.961 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.663e-05/0.9667, allocations: 89.38 kB / 1.35 GB, free: 6.879 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9667, allocations: 0 / 1.35 GB, free: 6.879 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003136/0.967, allocations: 50.52 kB / 1.35 GB, free: 6.867 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.0007072/0.9677, allocations: 0.9739 MB / 1.351 GB, free: 5.996 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.193e-05/0.9678, allocations: 8.172 kB / 1.351 GB, free: 5.996 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9678, allocations: 0 / 1.351 GB, free: 5.996 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.9678, allocations: 1.406 kB / 1.351 GB, free: 5.996 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.9681, allocations: 458.3 kB / 1.352 GB, free: 5.547 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.0008012/0.9689, allocations: 1.36 MB / 1.353 GB, free: 4.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.501e-05/0.969, allocations: 0.6733 MB / 1.354 GB, free: 3.484 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.373e-05/0.969, allocations: 6.766 kB / 1.354 GB, free: 3.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.969, allocations: 10.19 kB / 1.354 GB, free: 3.473 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.969, allocations: 4 kB / 1.354 GB, free: 3.469 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.038/2.007, allocations: 2.69 MB / 1.356 GB, free: 2.953 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/10.28, allocations: 26.75 kB / 1.356 GB, free: 2.938 MB / 1.061 GB " [Timeout remaining time 270] (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: 42.29832214303315]