Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.539/1.539, allocations: 249.3 MB / 261.8 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001281/0.00128, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 90.47 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.444e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2503, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7039/0.9543, allocations: 134.2 MB / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.9546, allocations: 83.7 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01719/0.9718, allocations: 5.967 MB / 1.029 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9719, allocations: 0 / 1.029 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.9719, allocations: 0 / 1.029 GB, free: 11.74 MB / 0.6511 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.0004338/0.9724, allocations: 370.2 kB / 1.029 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.9724, allocations: 8.031 kB / 1.029 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.849e-05/0.9725, allocations: 87.22 kB / 1.029 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.9727, allocations: 245 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.9728, allocations: 158.5 kB / 1.03 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.325e-05/0.9729, allocations: 150.6 kB / 1.03 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.13e-05/0.9729, allocations: 104.7 kB / 1.03 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.973, allocations: 79.28 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.973, allocations: 154.6 kB / 1.03 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/0.9731, allocations: 150.6 kB / 1.03 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.209e-05/0.9732, allocations: 158.5 kB / 1.03 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.9735, allocations: 457.7 kB / 1.031 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/0.9736, allocations: 173.1 kB / 1.031 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.342e-05/0.9736, allocations: 80.14 kB / 1.031 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.9737, allocations: 75.28 kB / 1.031 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.9737, allocations: 109.8 kB / 1.031 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.9737, allocations: 0 / 1.031 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 8.025e-05/0.9738, allocations: 33.62 kB / 1.031 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.9739, allocations: 130.7 kB / 1.031 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.974, allocations: 108.6 kB / 1.031 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.974, allocations: 25.7 kB / 1.031 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.9741, allocations: 91.55 kB / 1.032 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.9741, allocations: 0 / 1.032 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.9741, allocations: 0 / 1.032 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.9742, allocations: 314.8 kB / 1.032 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.9742, allocations: 0 / 1.032 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.9743, allocations: 30.2 kB / 1.032 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/0.9743, allocations: 7.938 kB / 1.032 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.9743, allocations: 3.953 kB / 1.032 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001281/0.9745, allocations: 53.38 kB / 1.032 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.9745, allocations: 4.094 kB / 1.032 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.9745, allocations: 4 kB / 1.032 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.9745, allocations: 0 / 1.032 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.9746, allocations: 8 kB / 1.032 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.9746, allocations: 3.984 kB / 1.032 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/0.9747, allocations: 4 kB / 1.032 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.9747, allocations: 0 / 1.032 GB, free: 8.227 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.259e-05/0.9748, allocations: 186.4 kB / 1.032 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.9749, allocations: 108.9 kB / 1.032 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.9749, allocations: 112.1 kB / 1.032 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.247e-05/0.975, allocations: 180.3 kB / 1.033 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.237e-05/0.975, allocations: 180.2 kB / 1.033 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.518e-05/0.9751, allocations: 176.3 kB / 1.033 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.9754, allocations: 408.2 kB / 1.033 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.343e-05/0.9754, allocations: 105 kB / 1.033 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.9754, allocations: 108.3 kB / 1.033 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.95e-05/0.9755, allocations: 188.1 kB / 1.034 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.43e-05/0.9756, allocations: 180.2 kB / 1.034 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.168e-05/0.9757, allocations: 180.2 kB / 1.034 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-05/0.9757, allocations: 180.3 kB / 1.034 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.9759, allocations: 307.7 kB / 1.034 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.976, allocations: 190 kB / 1.035 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.9761, allocations: 184.2 kB / 1.035 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.089e-05/0.9762, allocations: 104.9 kB / 1.035 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.9762, allocations: 184.2 kB / 1.035 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.9763, allocations: 112.9 kB / 1.035 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.817e-05/0.9763, allocations: 82.84 kB / 1.035 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9764, allocations: 0 / 1.035 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004703/0.9768, allocations: 63.41 kB / 1.035 GB, free: 4.586 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006017/0.9774, allocations: 348.3 kB / 1.036 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.423e-05/0.9775, allocations: 10.81 kB / 1.036 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.9775, allocations: 8.188 kB / 1.036 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.542e-06/0.9775, allocations: 0 / 1.036 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.9778, allocations: 0.5173 MB / 1.036 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001808/0.978, allocations: 134.7 kB / 1.036 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.9783, allocations: 0.677 MB / 1.037 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.73e-05/0.9783, allocations: 15.92 kB / 1.037 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.203e-05/0.9784, allocations: 7.438 kB / 1.037 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.9784, allocations: 0 / 1.037 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of Templates: time 0.004025/0.9824, allocations: 1.596 MB / 1.039 GB, free: 1.273 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches