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.586/1.586, allocations: 249.5 MB / 257 MB, free: 6.887 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.001203/0.001203, allocations: 168.9 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.001043/0.001043, allocations: 100.5 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.152e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1829, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6491/0.832, allocations: 134.4 MB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.8323, allocations: 90.06 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01575/0.848, allocations: 5.831 MB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8481, allocations: 0 / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.8481, allocations: 0 / 1.022 GB, free: 14.71 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.0003477/0.8484, allocations: 365.8 kB / 1.023 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.8485, allocations: 16.02 kB / 1.023 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.8486, allocations: 75.28 kB / 1.023 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.8487, allocations: 253.4 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.8488, allocations: 154.6 kB / 1.023 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.8489, allocations: 151.5 kB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.979e-05/0.8489, allocations: 150.6 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.368e-05/0.849, allocations: 105 kB / 1.024 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.849, allocations: 75.28 kB / 1.024 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/0.8491, allocations: 150.6 kB / 1.024 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.583e-05/0.8491, allocations: 154.6 kB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.8494, allocations: 441.1 kB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.61e-05/0.8495, allocations: 173.1 kB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.8496, allocations: 80.14 kB / 1.025 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.8496, allocations: 79.28 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/0.8497, allocations: 113.8 kB / 1.025 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.8497, allocations: 0 / 1.025 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.768e-05/0.8498, allocations: 29.64 kB / 1.025 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.8498, allocations: 51.41 kB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.8499, allocations: 104.3 kB / 1.025 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.8499, allocations: 25.7 kB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.8499, allocations: 94.97 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.262e-06/0.85, allocations: 0 / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.85, allocations: 0 / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.8501, allocations: 310.8 kB / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.8501, allocations: 4 kB / 1.025 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/0.8501, allocations: 21.45 kB / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.8503, allocations: 26.59 kB / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8503, allocations: 0 / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001826/0.8505, allocations: 64.69 kB / 1.025 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.8505, allocations: 4 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8505, allocations: 4 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.8505, allocations: 0 / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.328e-05/0.8506, allocations: 7.984 kB / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.8506, allocations: 0 / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/0.8507, allocations: 4.141 kB / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.8507, allocations: 8.094 kB / 1.025 GB, free: 11.29 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 9.006e-05/0.8508, allocations: 180.2 kB / 1.026 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.8508, allocations: 112.9 kB / 1.026 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.8509, allocations: 108.7 kB / 1.026 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.583e-05/0.851, allocations: 183.2 kB / 1.026 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.344e-05/0.851, allocations: 176.3 kB / 1.026 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-05/0.8511, allocations: 180.3 kB / 1.026 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.8513, allocations: 388 kB / 1.027 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.819e-05/0.8513, allocations: 101 kB / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.8514, allocations: 105 kB / 1.027 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.058e-05/0.8514, allocations: 180.2 kB / 1.027 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.383e-05/0.8515, allocations: 184.5 kB / 1.027 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.373e-05/0.8516, allocations: 180.2 kB / 1.027 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.048e-05/0.8517, allocations: 187.3 kB / 1.028 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.8518, allocations: 299.9 kB / 1.028 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.8519, allocations: 196.9 kB / 1.028 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.238e-05/0.852, allocations: 180.3 kB / 1.028 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.852, allocations: 101 kB / 1.028 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.8521, allocations: 189 kB / 1.029 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.8522, allocations: 109 kB / 1.029 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.283e-05/0.8522, allocations: 82.34 kB / 1.029 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8522, allocations: 3.938 kB / 1.029 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003593/0.8526, allocations: 66.91 kB / 1.029 GB, free: 7.676 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.0005494/0.8531, allocations: 360.6 kB / 1.029 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.969e-05/0.8532, allocations: 8.25 kB / 1.029 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8532, allocations: 0 / 1.029 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.8532, allocations: 0 / 1.029 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.8535, allocations: 0.5258 MB / 1.03 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001746/0.8537, allocations: 127.2 kB / 1.03 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.8539, allocations: 0.6768 MB / 1.03 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.854, allocations: 7.875 kB / 1.03 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.239e-05/0.854, allocations: 11.44 kB / 1.03 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.854, allocations: 4 kB / 1.03 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of Templates: time 0.003632/0.8576, allocations: 1.582 MB / 1.032 GB, free: 4.395 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