Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001694/0.001694, allocations: 104.6 kB / 16.45 MB, free: 6.5 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.001934/0.001934, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.615/1.615, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.176/3.176, allocations: 0.49 GB / 0.7916 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_12_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.002014/0.002014, allocations: 71.03 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.368, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00262/0.3706, allocations: 1.288 MB / 1.322 GB, free: 2.043 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.3731, allocations: 1.476 MB / 1.324 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.57e-05/0.3732, allocations: 0 / 1.324 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.3732, allocations: 0 / 1.324 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.3734, allocations: 15.94 kB / 1.324 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006678/0.3741, allocations: 220.6 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.487e-05/0.3741, allocations: 31.92 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.3742, allocations: 7.922 kB / 1.324 GB, free: 296 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3743, allocations: 16 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.224e-05/0.3744, allocations: 15.97 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.3744, allocations: 0 / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.3747, allocations: 167.8 kB / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.3747, allocations: 7.922 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.3748, allocations: 8 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.375, allocations: 147.8 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.375, allocations: 3.938 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3751, allocations: 4 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3751, allocations: 0 / 1.324 GB, free: 15.93 MB / 1.029 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.0004508/0.3755, allocations: 371 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3756, allocations: 11.98 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.619e-05/0.3756, allocations: 110 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.3757, allocations: 84.16 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.3759, allocations: 243.6 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/0.376, allocations: 158.9 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/0.376, allocations: 154.5 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.875e-05/0.3761, allocations: 109 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.3761, allocations: 75.28 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/0.3762, allocations: 158.5 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.329e-05/0.3763, allocations: 150.6 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.948e-05/0.3763, allocations: 154.6 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.3767, allocations: 453.9 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.3768, allocations: 173.1 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.3768, allocations: 84.12 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.3769, allocations: 83.22 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.203e-05/0.377, allocations: 109.8 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.377, allocations: 0 / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.618e-05/0.377, allocations: 29.7 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.3771, allocations: 126.7 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3772, allocations: 105.8 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.3773, allocations: 29.7 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.3773, allocations: 84.14 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.3773, allocations: 0 / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.3774, allocations: 21.72 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3775, allocations: 318.8 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.3775, allocations: 0 / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.3776, allocations: 30.5 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/0.3776, allocations: 26.58 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3776, allocations: 3.938 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001441/0.3778, allocations: 57.56 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3778, allocations: 4 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3778, allocations: 0 / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3778, allocations: 0 / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.3779, allocations: 12.03 kB / 1.328 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.3779, allocations: 4 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.378, allocations: 7.984 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.378, allocations: 4 kB / 1.328 GB, free: 12.19 MB / 1.029 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.0001174/0.3782, allocations: 189.1 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.3782, allocations: 105 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.3783, allocations: 108 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.331e-05/0.3784, allocations: 184.2 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.121e-05/0.3785, allocations: 176.5 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001221/0.3786, allocations: 184.2 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.3788, allocations: 409.2 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.678e-05/0.3789, allocations: 112.9 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.3789, allocations: 105 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.808e-05/0.379, allocations: 180.2 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.102e-05/0.3791, allocations: 184.3 kB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.906e-05/0.3792, allocations: 184.2 kB / 1.33 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.208e-05/0.3793, allocations: 184.2 kB / 1.33 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.3794, allocations: 315.7 kB / 1.33 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.766e-05/0.3795, allocations: 182.2 kB / 1.33 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/0.3796, allocations: 176.3 kB / 1.33 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.3797, allocations: 112.9 kB / 1.33 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.3798, allocations: 176.3 kB / 1.331 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.3799, allocations: 108.9 kB / 1.331 GB, free: 8.664 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.277e-05/0.3799, allocations: 87.27 kB / 1.331 GB, free: 8.578 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3799, allocations: 0 / 1.331 GB, free: 8.578 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003503/0.3803, allocations: 55.8 kB / 1.331 GB, free: 8.523 MB / 1.029 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.001036/0.3813, allocations: 0.9693 MB / 1.332 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.3814, allocations: 11.94 kB / 1.332 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3814, allocations: 0 / 1.332 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.3814, allocations: 0 / 1.332 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.3818, allocations: 459.7 kB / 1.332 GB, free: 7.102 MB / 1.029 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.001381/0.3832, allocations: 1.357 MB / 1.334 GB, free: 5.652 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.3835, allocations: 0.6806 MB / 1.334 GB, free: 4.945 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.3836, allocations: 3.938 kB / 1.334 GB, free: 4.941 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.3836, allocations: 11.44 kB / 1.334 GB, free: 4.93 MB / 1.029 GB Notification: Performance of SimCode: time 8.91e-07/0.3836, allocations: 4 kB / 1.334 GB, free: 4.926 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.115/1.498, allocations: 2.644 MB / 1.337 GB, free: 2.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/9.331, allocations: 11.09 kB / 1.337 GB, free: 2.441 MB / 1.029 GB " [Timeout remaining time 271] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 41.68572596786544]