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.001221/0.001221, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.424/2.424, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 64.05 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2349, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001906/0.2369, allocations: 1.276 MB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.2385, allocations: 1.441 MB / 1.056 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.2386, allocations: 0 / 1.056 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.2386, allocations: 3.938 kB / 1.056 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.2387, allocations: 19.84 kB / 1.056 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.2393, allocations: 214.4 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.725e-05/0.2393, allocations: 23.92 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.2394, allocations: 4 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.2394, allocations: 23.86 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.135e-05/0.2395, allocations: 7.984 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.2395, allocations: 0 / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.2398, allocations: 147.9 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.2398, allocations: 7.922 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.2398, allocations: 15.94 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.24, allocations: 143.8 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.24, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.24, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.24, allocations: 0 / 1.056 GB, free: 4.914 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.0003169/0.2404, allocations: 363.8 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2404, allocations: 12.62 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.2404, allocations: 110 kB / 1.057 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.2405, allocations: 88.22 kB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.2406, allocations: 251.5 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/0.2407, allocations: 154.9 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.2407, allocations: 158.5 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.749e-05/0.2408, allocations: 104.9 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.2408, allocations: 75.28 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.2409, allocations: 158.6 kB / 1.058 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/0.2409, allocations: 150.6 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.088e-05/0.241, allocations: 150.6 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.2412, allocations: 453.9 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.116e-05/0.2413, allocations: 181 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.2413, allocations: 84.14 kB / 1.059 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.2413, allocations: 79.28 kB / 1.059 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.2414, allocations: 105.8 kB / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2414, allocations: 0 / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.262e-05/0.2414, allocations: 29.7 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.2415, allocations: 134.6 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.24e-05/0.2416, allocations: 105.8 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.2416, allocations: 25.7 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.2416, allocations: 80.14 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.2416, allocations: 0 / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.2417, allocations: 25.7 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.2418, allocations: 314.8 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.2418, allocations: 0 / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.595e-05/0.2418, allocations: 34.5 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/0.2418, allocations: 26.52 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2419, allocations: 0 / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001028/0.242, allocations: 57.56 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.242, allocations: 8.094 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.242, allocations: 0 / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.242, allocations: 4 kB / 1.06 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.02e-05/0.2421, allocations: 4 kB / 1.06 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.2421, allocations: 0 / 1.06 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.2422, allocations: 12.14 kB / 1.06 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2422, allocations: 4 kB / 1.06 GB, free: 1.184 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.96e-05/0.2423, allocations: 194.5 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.2424, allocations: 116.9 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.2424, allocations: 112.1 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.361e-05/0.2425, allocations: 176.3 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.848e-05/0.2425, allocations: 184.2 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.23e-05/0.2426, allocations: 176.3 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.2428, allocations: 413.1 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.88e-05/0.2428, allocations: 105 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.2428, allocations: 105 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.72e-05/0.2429, allocations: 180.2 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/0.2429, allocations: 184.2 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.653e-05/0.243, allocations: 184.2 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.163e-05/0.243, allocations: 180.3 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.914e-05/0.2431, allocations: 307.7 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.2432, allocations: 182.1 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.2432, allocations: 180.2 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.2433, allocations: 105 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.2434, allocations: 184.2 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.2434, allocations: 101 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.2434, allocations: 87.27 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2434, allocations: 0 / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002729/0.2437, allocations: 51.98 kB / 1.063 GB, free: 13.53 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.0006363/0.2444, allocations: 0.983 MB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.305e-05/0.2444, allocations: 11.98 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.2444, allocations: 0 / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.2444, allocations: 0 / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.2447, allocations: 463.9 kB / 1.064 GB, free: 12.09 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.0008512/0.2456, allocations: 1.346 MB / 1.066 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.2458, allocations: 0.6846 MB / 1.066 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.881e-05/0.2458, allocations: 0 / 1.066 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.2459, allocations: 11.44 kB / 1.066 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2459, allocations: 0 / 1.066 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9368/1.183, allocations: 2.612 MB / 1.069 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/9.205, allocations: 9.938 kB / 1.069 GB, free: 7.457 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