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.001531/0.001531, 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.001063/0.001063, allocations: 177.4 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.9751/0.9751, allocations: 177.2 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.587/2.587, allocations: 438.8 MB / 0.6827 GB, free: 13.6 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.513e-06/1.513e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.841e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001901/0.001929, allocations: 1.364 MB / 0.84 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.003996, allocations: 1.601 MB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.004036, allocations: 0 / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.004054, allocations: 0 / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.004252, allocations: 15.92 kB / 0.8416 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.00475, allocations: 211.3 kB / 0.8418 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.103e-05/0.004821, allocations: 19.94 kB / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.004859, allocations: 7.984 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.005001, allocations: 35.78 kB / 0.8418 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.005056, allocations: 8 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.005066, allocations: 0 / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.005338, allocations: 159.8 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.005349, allocations: 4 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.559e-05/0.005364, allocations: 11.92 kB / 0.842 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.005555, allocations: 167.5 kB / 0.8422 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.005558, allocations: 0 / 0.8422 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005558, allocations: 0 / 0.8422 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.005562, allocations: 0 / 0.8422 GB, free: 10.55 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.0002305/0.005793, allocations: 268.5 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.005824, allocations: 12.62 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.005867, allocations: 84.2 kB / 0.8425 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.005974, allocations: 189 kB / 0.8427 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.006012, allocations: 154.9 kB / 0.8428 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.006051, allocations: 154.9 kB / 0.843 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.69e-05/0.006097, allocations: 101.5 kB / 0.8431 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.006117, allocations: 79.22 kB / 0.8431 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.006153, allocations: 150.6 kB / 0.8433 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.006186, allocations: 150.6 kB / 0.8434 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.655e-05/0.006223, allocations: 158.5 kB / 0.8436 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.006377, allocations: 357.3 kB / 0.8439 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.392e-05/0.006441, allocations: 169.1 kB / 0.8441 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.006464, allocations: 80.14 kB / 0.8442 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.006488, allocations: 79.28 kB / 0.8442 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.006525, allocations: 109.8 kB / 0.8443 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.006526, allocations: 0 / 0.8443 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.896e-05/0.006585, allocations: 33.64 kB / 0.8444 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.006625, allocations: 130.6 kB / 0.8445 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.44e-05/0.0067, allocations: 110.7 kB / 0.8446 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.006711, allocations: 33.64 kB / 0.8446 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.006742, allocations: 88.08 kB / 0.8447 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-06/0.006743, allocations: 4 kB / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.00677, allocations: 17.72 kB / 0.8447 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.006846, allocations: 322.9 kB / 0.8451 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-06/0.006856, allocations: 0 / 0.8451 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.006907, allocations: 103.7 kB / 0.8452 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.159e-05/0.006939, allocations: 26.5 kB / 0.8452 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.006941, allocations: 0 / 0.8452 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.389e-05/0.007014, allocations: 49.66 kB / 0.8452 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.007026, allocations: 4 kB / 0.8452 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.00703, allocations: 0 / 0.8452 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.007043, allocations: 4 kB / 0.8452 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/0.007091, allocations: 4 kB / 0.8452 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.007096, allocations: 3.938 kB / 0.8452 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/0.00717, allocations: 15.92 kB / 0.8453 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.007179, allocations: 8.172 kB / 0.8453 GB, free: 7.168 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.572e-05/0.007245, allocations: 185.1 kB / 0.8454 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.007283, allocations: 105 kB / 0.8455 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.007318, allocations: 112.2 kB / 0.8456 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.03e-05/0.007359, allocations: 180.2 kB / 0.8458 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-05/0.007401, allocations: 192.2 kB / 0.846 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.133e-05/0.007443, allocations: 180.2 kB / 0.8462 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.007565, allocations: 317.4 kB / 0.8465 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/0.00759, allocations: 105.1 kB / 0.8466 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.007614, allocations: 101 kB / 0.8467 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.206e-05/0.007656, allocations: 184.2 kB / 0.8468 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.007699, allocations: 180.2 kB / 0.847 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.125e-05/0.00774, allocations: 180.3 kB / 0.8472 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.622e-05/0.007787, allocations: 188.4 kB / 0.8474 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.007897, allocations: 311.8 kB / 0.8477 GB, free: 4.562 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.007931, allocations: 108.9 kB / 0.8478 GB, free: 4.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.007983, allocations: 180.2 kB / 0.8479 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/0.008031, allocations: 108.9 kB / 0.848 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.008076, allocations: 180.3 kB / 0.8482 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.008101, allocations: 105 kB / 0.8483 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.86e-05/0.008119, allocations: 16.78 kB / 0.8483 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008119, allocations: 0 / 0.8483 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002141/0.008333, allocations: 59.69 kB / 0.8484 GB, free: 3.781 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.000897/0.00923, allocations: 364.5 kB / 0.8487 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.053e-05/0.009291, allocations: 12.86 kB / 0.8488 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.009295, allocations: 0 / 0.8488 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.009296, allocations: 0 / 0.8488 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.0095, allocations: 471.6 kB / 0.8492 GB, free: 3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.009887, allocations: 176 kB / 0.8494 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.755e-05/0.009914, allocations: 59.55 kB / 0.8494 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.232e-05/0.009937, allocations: 0 / 0.8494 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.009974, allocations: 55.36 kB / 0.8495 GB, free: 2.668 MB / 0.8073 GB Notification: Performance of SimCode: time 7.61e-07/0.009974, allocations: 0 / 0.8495 GB, free: 2.668 MB / 0.8073 GB Notification: Performance of Templates: time 0.003291/0.01326, allocations: 1.944 MB / 0.8514 GB, free: 0.7461 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 -s gbode -gbm=radauIIA3 -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.491950630676001]