Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009333/0.0009333, allocations: 87.58 kB / 20.45 MB, free: 4.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9446/0.9446, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.859/1.859, allocations: 377.9 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.359e-05, allocations: 7.25 kB / 0.8115 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001438/0.001451, allocations: 1.329 MB / 0.8128 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.003113, allocations: 1.585 MB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.003148, allocations: 4 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.211e-05/0.00317, allocations: 0 / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.003377, allocations: 15.92 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.003903, allocations: 211.5 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.476e-05/0.003978, allocations: 23.92 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.004012, allocations: 4.734 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.004156, allocations: 35.8 kB / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.516e-05/0.004211, allocations: 12.72 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.004225, allocations: 4 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.004479, allocations: 149 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.00449, allocations: 4 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.004507, allocations: 7.938 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.004729, allocations: 165.5 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.004733, allocations: 4 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004734, allocations: 0 / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.004738, allocations: 7.938 kB / 0.815 GB, free: 14.15 MB / 0.7761 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.0003232/0.005061, allocations: 384 kB / 0.8154 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.005096, allocations: 13 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.00516, allocations: 128.4 kB / 0.8155 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.005299, allocations: 235.7 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.559e-05/0.005375, allocations: 244.4 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.005439, allocations: 242.8 kB / 0.8162 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.421e-05/0.005503, allocations: 149.4 kB / 0.8163 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.005537, allocations: 127.1 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.077e-05/0.005597, allocations: 243.9 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.167e-05/0.005659, allocations: 238.4 kB / 0.8169 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.174e-05/0.005721, allocations: 242.3 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.005978, allocations: 0.5759 MB / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.427e-05/0.006072, allocations: 267.1 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.006112, allocations: 130.9 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.006144, allocations: 123.2 kB / 0.8182 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.006195, allocations: 156.6 kB / 0.8184 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.006197, allocations: 0 / 0.8184 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.099e-05/0.006258, allocations: 38.52 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.006325, allocations: 174.5 kB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.006409, allocations: 163.6 kB / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.006419, allocations: 29.7 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.006458, allocations: 130.9 kB / 0.8189 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.00646, allocations: 0 / 0.8189 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.006489, allocations: 31.36 kB / 0.8189 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.00659, allocations: 492.7 kB / 0.8194 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-06/0.006598, allocations: 0.6875 kB / 0.8194 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.006653, allocations: 112.2 kB / 0.8195 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.006689, allocations: 36.69 kB / 0.8195 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006691, allocations: 0 / 0.8195 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.653e-05/0.006787, allocations: 59.48 kB / 0.8196 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.006798, allocations: 4 kB / 0.8196 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.006802, allocations: 0 / 0.8196 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.006814, allocations: 7.938 kB / 0.8196 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.743e-05/0.006861, allocations: 5.188 kB / 0.8196 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.006866, allocations: 0 / 0.8196 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.006938, allocations: 11.92 kB / 0.8196 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.006946, allocations: 4.531 kB / 0.8196 GB, free: 9.195 MB / 0.7761 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.87e-05/0.007024, allocations: 280.5 kB / 0.8199 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.007071, allocations: 148.9 kB / 0.82 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.00711, allocations: 148.9 kB / 0.8202 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.048e-05/0.00717, allocations: 275.9 kB / 0.8204 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.129e-05/0.007232, allocations: 269 kB / 0.8207 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.264e-05/0.007294, allocations: 268 kB / 0.8209 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.007451, allocations: 0.4895 MB / 0.8214 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-05/0.007488, allocations: 144.9 kB / 0.8216 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.007524, allocations: 152.8 kB / 0.8217 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.853e-05/0.007583, allocations: 264.1 kB / 0.822 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-05/0.007648, allocations: 272.8 kB / 0.8222 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.09e-05/0.007709, allocations: 276.1 kB / 0.8225 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.026e-05/0.007769, allocations: 273.9 kB / 0.8227 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.007889, allocations: 436 kB / 0.8232 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.007932, allocations: 156.8 kB / 0.8233 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.007998, allocations: 268.1 kB / 0.8236 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.466e-05/0.008053, allocations: 149.1 kB / 0.8237 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.008112, allocations: 276.8 kB / 0.824 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.008143, allocations: 149.2 kB / 0.8241 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.008178, allocations: 134.6 kB / 0.8242 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008178, allocations: 0 / 0.8242 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002053/0.008384, allocations: 51.8 kB / 0.8243 GB, free: 4.223 MB / 0.7761 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.0004269/0.008811, allocations: 405.5 kB / 0.8247 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.498e-05/0.008875, allocations: 12.34 kB / 0.8247 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.008878, allocations: 4 kB / 0.8247 GB, free: 3.848 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.008879, allocations: 1.844 kB / 0.8247 GB, free: 3.848 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.009135, allocations: 0.7041 MB / 0.8254 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.009516, allocations: 233.6 kB / 0.8256 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.726e-05/0.009543, allocations: 58.75 kB / 0.8257 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.819e-05/0.009562, allocations: 3.984 kB / 0.8257 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.009575, allocations: 16.44 kB / 0.8257 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.009575, allocations: 0 / 0.8257 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of Templates: time 0.002987/0.01256, allocations: 1.933 MB / 0.8276 GB, free: 0.8945 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.063405230175704]