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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 192.1 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.442/2.442, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 62.88 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2225, allocations: 157.4 MB / 1.052 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002087/0.2247, allocations: 1.333 MB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.2265, allocations: 1.428 MB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.2265, allocations: 0 / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.2265, allocations: 3.938 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.2267, allocations: 4 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.2272, allocations: 209.8 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.143e-05/0.2273, allocations: 23.92 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.795e-05/0.2273, allocations: 4 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.26e-05/0.2274, allocations: 23.91 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.268e-05/0.2275, allocations: 4 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.2275, allocations: 4 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.2277, allocations: 155.8 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.2278, allocations: 4 kB / 1.056 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.2278, allocations: 11.92 kB / 1.056 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.228, allocations: 147.8 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.228, allocations: 0 / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.143e-06/0.228, allocations: 0 / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.228, allocations: 0 / 1.056 GB, free: 5.297 MB / 0.8106 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.0003264/0.2284, allocations: 363.8 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2284, allocations: 8.625 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.2284, allocations: 114 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/0.2285, allocations: 88.16 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.2287, allocations: 243.6 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.2287, allocations: 150.9 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.2288, allocations: 162.5 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.924e-05/0.2288, allocations: 101 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.2289, allocations: 75.28 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.2289, allocations: 154.6 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.2289, allocations: 158.5 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.229, allocations: 158.5 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.2292, allocations: 453.9 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.401e-05/0.2293, allocations: 169.1 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.2293, allocations: 84.14 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.2294, allocations: 75.28 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.2294, allocations: 109.8 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2294, allocations: 7.938 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.325e-05/0.2295, allocations: 25.7 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.2295, allocations: 126.7 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.379e-05/0.2296, allocations: 109.8 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.2296, allocations: 25.7 kB / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.2297, allocations: 80.14 kB / 1.059 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.2297, allocations: 4 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.2297, allocations: 21.7 kB / 1.059 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.2298, allocations: 314.8 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.2298, allocations: 4 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/0.2299, allocations: 26.56 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.2299, allocations: 30.52 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2299, allocations: 0 / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000105/0.23, allocations: 53.56 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.23, allocations: 5.719 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.23, allocations: 8.094 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.2301, allocations: 0 / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.283e-05/0.2301, allocations: 4 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2301, allocations: 0 / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.2303, allocations: 12.14 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.2303, allocations: 7.938 kB / 1.059 GB, free: 1.578 MB / 0.8106 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 7.584e-05/0.2304, allocations: 200.9 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.2304, allocations: 105 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.2305, allocations: 112.1 kB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/0.2305, allocations: 184.3 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.404e-05/0.2306, allocations: 176.3 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.586e-05/0.2306, allocations: 184.2 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.2308, allocations: 409.3 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/0.2308, allocations: 109 kB / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.2309, allocations: 104.9 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.684e-05/0.2309, allocations: 184.3 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/0.231, allocations: 188.2 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-05/0.231, allocations: 176.3 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.681e-05/0.2311, allocations: 180.2 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.974e-05/0.2312, allocations: 307.8 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.2313, allocations: 190 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.2313, allocations: 180.3 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-05/0.2314, allocations: 104.9 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.2314, allocations: 180.3 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.2315, allocations: 109 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.025e-05/0.2315, allocations: 83.28 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2315, allocations: 0 / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000285/0.2318, allocations: 51.98 kB / 1.062 GB, free: 13.91 MB / 0.8262 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.0008035/0.2326, allocations: 0.9656 MB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.409e-05/0.2327, allocations: 15.92 kB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2327, allocations: 0 / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.2327, allocations: 0 / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.2331, allocations: 463.9 kB / 1.064 GB, free: 12.48 MB / 0.8262 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.0009029/0.2341, allocations: 1.356 MB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.2343, allocations: 0.669 MB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.2343, allocations: 11.94 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.2343, allocations: 7.438 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2343, allocations: 0 / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.024/6.258, allocations: 2.539 MB / 1.068 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/6.258, allocations: 280.9 kB / 1.069 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/7.836, allocations: 6.812 kB / 1.069 GB, free: 7.594 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) 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) Reference file matches