Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 182.2 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009509/0.000951, allocations: 102.8 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.000395, allocations: 11.53 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3224, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.5166, allocations: 151.7 MB / 1.371 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.5169, allocations: 87.94 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01669/0.5336, allocations: 5.978 MB / 1.377 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5336, allocations: 0 / 1.377 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.5337, allocations: 0 / 1.377 GB, free: 4.348 MB / 0.8698 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.000445/0.5341, allocations: 375.3 kB / 1.377 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.5342, allocations: 8.031 kB / 1.377 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.5343, allocations: 83.19 kB / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.5344, allocations: 246.2 kB / 1.378 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/0.5345, allocations: 154.5 kB / 1.378 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.5346, allocations: 162.5 kB / 1.378 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.99e-05/0.5347, allocations: 101 kB / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.5347, allocations: 79.28 kB / 1.378 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/0.5348, allocations: 154.6 kB / 1.378 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.337e-05/0.5349, allocations: 154.6 kB / 1.378 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.5349, allocations: 154.5 kB / 1.379 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.5352, allocations: 453.9 kB / 1.379 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.282e-05/0.5353, allocations: 177.1 kB / 1.379 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.5354, allocations: 75.28 kB / 1.379 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.5354, allocations: 105.8 kB / 1.379 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.5354, allocations: 4 kB / 1.379 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.465e-05/0.5355, allocations: 29.64 kB / 1.379 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.5356, allocations: 130.7 kB / 1.379 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.948e-05/0.5357, allocations: 97 kB / 1.38 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.5357, allocations: 29.7 kB / 1.38 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.5357, allocations: 88.12 kB / 1.38 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.5358, allocations: 0 / 1.38 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.5358, allocations: 0 / 1.38 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.5359, allocations: 318.8 kB / 1.38 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.5359, allocations: 0 / 1.38 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-05/0.5359, allocations: 26.58 kB / 1.38 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.441e-05/0.536, allocations: 15.94 kB / 1.38 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.536, allocations: 0 / 1.38 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001223/0.5361, allocations: 49.55 kB / 1.38 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5361, allocations: 4 kB / 1.38 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5362, allocations: 0 / 1.38 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5362, allocations: 11.92 kB / 1.38 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.922e-05/0.5362, allocations: 4 kB / 1.38 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.5362, allocations: 96 / 1.38 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.6e-05/0.5363, allocations: 8 kB / 1.38 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.5364, allocations: 4 kB / 1.38 GB, free: 0.8828 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.5365, allocations: 189.1 kB / 1.38 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.5365, allocations: 109 kB / 1.38 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.5366, allocations: 111.8 kB / 1.38 GB, free: 468 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.039e-05/0.5367, allocations: 180.3 kB / 1.381 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-05/0.5367, allocations: 184.2 kB / 1.381 GB, free: 88 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.528e-05/0.5368, allocations: 180.3 kB / 1.381 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.537, allocations: 401.2 kB / 1.381 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.176e-05/0.5371, allocations: 112.9 kB / 1.381 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.5371, allocations: 105 kB / 1.382 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-05/0.5372, allocations: 184.2 kB / 1.382 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.216e-05/0.5373, allocations: 180.4 kB / 1.382 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.35e-05/0.5374, allocations: 188.1 kB / 1.382 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-05/0.5374, allocations: 180.2 kB / 1.382 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.5376, allocations: 315.7 kB / 1.383 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.5376, allocations: 182 kB / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/0.5377, allocations: 176.3 kB / 1.383 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.5378, allocations: 113.2 kB / 1.383 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.5379, allocations: 177.1 kB / 1.383 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.5379, allocations: 112.9 kB / 1.383 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.538, allocations: 87.28 kB / 1.383 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9e-08/0.538, allocations: 0 / 1.383 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004037/0.5384, allocations: 63.92 kB / 1.383 GB, free: 13.2 MB / 0.8855 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 (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.0006394/0.539, allocations: 353.5 kB / 1.384 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.31e-05/0.5391, allocations: 8 kB / 1.384 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5391, allocations: 0 / 1.384 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.624e-06/0.5391, allocations: 8.125 kB / 1.384 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.5394, allocations: 0.5263 MB / 1.384 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.5397, allocations: 179.1 kB / 1.384 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.54, allocations: 0.677 MB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.291e-05/0.54, allocations: 4 kB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.54, allocations: 11.44 kB / 1.385 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.54, allocations: 3.938 kB / 1.385 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of Templates: time 0.003943/0.544, allocations: 1.469 MB / 1.387 GB, free: 9.953 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches