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.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.001347/0.001347, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001564/0.001564, allocations: 177 kB / 23.36 MB, free: 1.129 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.922/0.922, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.369/2.369, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.039e-05, allocations: 8.703 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001538/0.001559, allocations: 1.309 MB / 0.8399 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.003076, allocations: 1.601 MB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.003105, allocations: 0 / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.003122, allocations: 7.984 kB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.003313, allocations: 15.92 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.003705, allocations: 219.2 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.218e-05/0.003767, allocations: 23.92 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.98e-05/0.003797, allocations: 0 / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.003907, allocations: 35.84 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.003956, allocations: 3.984 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.003967, allocations: 8 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.004148, allocations: 143.8 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.004161, allocations: 15.97 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.541e-05/0.004176, allocations: 7.938 kB / 0.8419 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.004361, allocations: 163.5 kB / 0.8421 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004363, allocations: 0 / 0.8421 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004364, allocations: 0 / 0.8421 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.975e-06/0.004367, allocations: 0 / 0.8421 GB, free: 10.62 MB / 0.8073 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.0002372/0.004604, allocations: 272.5 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.004634, allocations: 12.62 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.004674, allocations: 80.22 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.913e-05/0.004763, allocations: 185.1 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.004801, allocations: 150.9 kB / 0.8427 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.004838, allocations: 154.9 kB / 0.8429 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.26e-05/0.00488, allocations: 105.5 kB / 0.843 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.004901, allocations: 87.16 kB / 0.8431 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.004933, allocations: 150.6 kB / 0.8432 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.004965, allocations: 154.5 kB / 0.8434 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.14e-05/0.004996, allocations: 150.6 kB / 0.8435 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.005138, allocations: 357.3 kB / 0.8438 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.95e-05/0.005197, allocations: 169.1 kB / 0.844 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.005218, allocations: 88.08 kB / 0.8441 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.005236, allocations: 79.27 kB / 0.8442 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.005267, allocations: 109.8 kB / 0.8443 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.005268, allocations: 0 / 0.8443 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.654e-05/0.005314, allocations: 29.69 kB / 0.8443 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.005358, allocations: 130.6 kB / 0.8444 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.839e-05/0.005426, allocations: 106.7 kB / 0.8445 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.005436, allocations: 29.64 kB / 0.8445 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.005466, allocations: 96.06 kB / 0.8446 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.212e-06/0.005467, allocations: 0 / 0.8446 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.005492, allocations: 21.72 kB / 0.8447 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.005564, allocations: 314.9 kB / 0.845 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.005573, allocations: 7.938 kB / 0.845 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/0.005618, allocations: 103.7 kB / 0.8451 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.005646, allocations: 22.58 kB / 0.8451 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.005649, allocations: 0 / 0.8451 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.673e-05/0.005716, allocations: 45.56 kB / 0.8451 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.005726, allocations: 12.09 kB / 0.8451 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.005732, allocations: 3.984 kB / 0.8451 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.005743, allocations: 0 / 0.8451 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.556e-05/0.005789, allocations: 4 kB / 0.8451 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.005793, allocations: 7.938 kB / 0.8452 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.647e-05/0.00586, allocations: 7.938 kB / 0.8452 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.005868, allocations: 7.984 kB / 0.8452 GB, free: 7.234 MB / 0.8073 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 6.299e-05/0.005931, allocations: 185.1 kB / 0.8453 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.005965, allocations: 101 kB / 0.8454 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.005997, allocations: 108.3 kB / 0.8455 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002405/0.006238, allocations: 184.3 kB / 0.8457 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.183e-05/0.006279, allocations: 196.1 kB / 0.8459 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.471e-05/0.006314, allocations: 176.3 kB / 0.8461 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.006428, allocations: 317.4 kB / 0.8464 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/0.006451, allocations: 105 kB / 0.8465 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.006472, allocations: 101 kB / 0.8466 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.804e-05/0.00651, allocations: 188.2 kB / 0.8468 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.006546, allocations: 180.3 kB / 0.8469 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.36e-05/0.00658, allocations: 180.2 kB / 0.8471 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.558e-05/0.006616, allocations: 180.5 kB / 0.8473 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.197e-05/0.006697, allocations: 315.7 kB / 0.8476 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.006724, allocations: 105 kB / 0.8477 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.006767, allocations: 188.2 kB / 0.8479 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.006809, allocations: 101 kB / 0.8479 GB, free: 4.227 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.006848, allocations: 180.2 kB / 0.8481 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.006871, allocations: 112.9 kB / 0.8482 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.354e-05/0.006884, allocations: 12.8 kB / 0.8482 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006885, allocations: 0 / 0.8482 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001875/0.007072, allocations: 51.73 kB / 0.8483 GB, free: 3.859 MB / 0.8073 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.0005212/0.007593, allocations: 382.9 kB / 0.8487 GB, free: 3.539 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.169e-05/0.007655, allocations: 12.8 kB / 0.8487 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.007658, allocations: 0 / 0.8487 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.007659, allocations: 0 / 0.8487 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.007846, allocations: 459.7 kB / 0.8491 GB, free: 3.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.008198, allocations: 180 kB / 0.8493 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.659e-05/0.008225, allocations: 55.34 kB / 0.8493 GB, free: 2.793 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.441e-05/0.008249, allocations: 4.188 kB / 0.8493 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.008282, allocations: 55.38 kB / 0.8494 GB, free: 2.734 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.008283, allocations: 0 / 0.8494 GB, free: 2.734 MB / 0.8073 GB Notification: Performance of Templates: time 0.00308/0.01136, allocations: 1.932 MB / 0.8513 GB, free: 0.832 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.150719854049385]